-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
27 lines (27 loc) · 808 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
dist: xenial
language: python
python:
# - "2.6" # no longer available on travis xenial
- "2.7"
# - "3.3" # no longer available on travis xenial
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "nightly"
- "pypy3.5"
# command to install dependencies
install:
- pip install -r tests/requirements.txt
- pip install python-coveralls
- pip install coverage
- pip install nose
- pip install codacy-coverage
# command to run tests
script:
- nosetests
- if [[ $TRAVIS_PYTHON_VERSION != 'nightly' ]]; then coverage run -a tests/test_quality.py; fi
after_success:
- if [[ $TRAVIS_PYTHON_VERSION != 'nightly' ]]; then coveralls; fi
- if [[ $TRAVIS_PYTHON_VERSION != 'nightly' ]]; then coverage xml; fi
- if [[ $TRAVIS_PYTHON_VERSION != 'nightly' ]]; then python-codacy-coverage -r coverage.xml; fi