mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 19:53:17 +00:00
29 lines
670 B
YAML
29 lines
670 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:
|
|
- py.test tests --tb=native --verbose --cov-config .coveragerc --cov=plexapi
|
|
- flake8 plexapi --exclude=compat.py --max-line-length=120 --ignore=E128,E701,E702,E731,W293
|
|
|
|
after_success:
|
|
- coveralls
|
|
|
|
matrix:
|
|
fast_finish: true
|