-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
46 lines (39 loc) · 881 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3"
matrix:
allow_failures:
- python: "2.6"
- python: "3.3"
- python: "3.4"
- python: "pypy"
- python: "pypy3"
- env: TRAVIS_PIP_UPDATE=false
env:
global:
- PY_COLORS=1
matrix:
- TRAVIS_PIP_UPDATE=true
- TRAVIS_PIP_UPDATE=false
cache:
directories:
- $HOME/.cache
install:
- helpers/travis_install.sh
script:
- if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then py.test; fi
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coverage run -m pytest --showlocals; fi
- flake8 --max-line-length=100 --show-source
after_script:
- python helpers/greptodo.py
- python helpers/jssdksyncmon.py
- python helpers/debug-info.py
after_success:
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coverage combine && codecov; fi