python-plexapi/.travis.yml

30 lines
720 B
YAML
Raw Normal View History

2017-02-02 09:44:37 -05:00
#---------------------------------------------------------
# Travis CI Build Environment
# https://docs.travis-ci.com/user/customizing-the-build
#---------------------------------------------------------
language:
- python
2017-01-24 00:38:45 -05:00
python:
- "2.7"
2017-01-29 01:48:16 +01:00
- "3.4"
2017-01-24 00:38:45 -05:00
- "3.5"
2017-01-29 01:48:16 +01:00
- "3.6"
2017-01-24 00:38:45 -05:00
2017-01-29 01:22:28 +01:00
before_install:
2017-02-02 09:44:37 -05:00
- pip install -U pytest pytest-cov coveralls
2017-01-29 01:22:28 +01:00
2017-01-24 00:38:45 -05:00
install:
2017-01-29 01:13:28 +01:00
- pip install -r requirements_dev.txt
2017-02-13 17:44:28 -05:00
- pip install -r requirements_doc.txt
2017-01-24 00:38:45 -05:00
2017-02-02 09:44:37 -05:00
script:
2017-02-28 01:09:42 -05:00
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then py.test tests --tb=native --verbose --cov-config .coveragerc --cov=plexapi; fi
2017-02-24 23:14:52 -05:00
- flake8 plexapi --exclude=compat.py --max-line-length=120 --ignore=E128,E701,E702,E731,W293
2017-01-29 01:13:28 +01:00
after_success:
2017-02-02 09:44:37 -05:00
- coveralls
matrix:
fast_finish: true