python-plexapi/.travis.yml

28 lines
670 B
YAML
Raw Normal View History

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