-
Notifications
You must be signed in to change notification settings - Fork 24
/
.travis.yml
49 lines (43 loc) · 824 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
47
48
49
# Config file for automatic testing at travis-ci.org
sudo: false
language: python
dist: xenial
python:
- "3.5"
- "3.6"
- "3.7"
- "pypy3"
env:
- PYTEST=3
- PYTEST=4
- PYTEST=5
- PYTEST=master
matrix:
include:
- python: 'pypy'
dist: trusty
env: PYTEST=4
- python: 2.7
env: PYTEST=3
- python: 2.7
env: PYTEST=4
- python: 3.4
env: PYTEST=3
- python: 3.4
env: PYTEST=4
jobs:
allow_failures:
- env: PYTEST=master
install:
- "[[ $TRAVIS_PYTHON_VERSION == pypy ]] || pip install coveralls"
- pip install tox-travis coverage
script:
- tox -v
- coverage combine
after_success:
- "[[ $TRAVIS_PYTHON_VERSION == pypy ]] || COVERALLS_PARALLEL=true coveralls"
before_cache:
- rm -rf $HOME/.cache/pip/log
cache:
directories:
- $HOME/.cache/pip