python-plexapi/.travis.yml
2017-04-29 22:51:38 -04:00

30 lines
768 B
YAML

#---------------------------------------------------------
# Travis CI Build Environment
# https://docs.travis-ci.com/user/customizing-the-build
#---------------------------------------------------------
language:
- python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
before_install:
- pip install -U pytest pytest-cov coveralls
install:
- pip install -r requirements_dev.txt
- pip install -r requirements_doc.txt
script:
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then py.test tests --tb=native --verbose --cov-config .coveragerc --cov=plexapi; fi
- pwd && cd docs && sphinx-build -aE . _build
- flake8 plexapi --exclude=compat.py --max-line-length=120 --ignore=E128,E701,E702,E731,W293
after_success:
- coveralls
matrix:
fast_finish: true