-
Notifications
You must be signed in to change notification settings - Fork 30
/
.travis.yml
39 lines (38 loc) · 1.3 KB
/
.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
# We use tox for testing against Python interpreters provided by deadsnakes and
# the PyPy PPA, also on Travis CI, because it's important for py2deb that the
# Python interpreter was installed using a Debian package. We use the following
# environment variables to accomplish this:
#
# - $PYTHON is set so that the Makefile uses the correct Python interpreter
# when the virtual environment is created.
#
# - $TOXENV is set so that tox knows what needs to be tested.
#
# - Because 'language: generic' has nothing to do with Python no virtual
# environment will be provided by Travis CI, which is good, because we
# want to create and use our own virtual environment.
#
# Note that the build matrix entries are ordered (roughly) by decreasing build
# time in order to minimize the total runtime of the build matrix.
sudo: required
dist: bionic
language: generic
matrix:
include:
- env: PYTHON=pypy3 TOXENV=pypy3 # 15m50s
- env: PYTHON=pypy TOXENV=pypy # 6m57s
- env: PYTHON=python3.7 TOXENV=py37 # 4m18s
- env: PYTHON=python3.5 TOXENV=py35 # 4m12s
- env: PYTHON=python3.6 TOXENV=py36 # 3m53s
- env: PYTHON=python2.7 TOXENV=py27 # 3m38s
install:
- scripts/travis.sh
- make install
script:
- make check
- make tox
after_success:
- coveralls
branches:
except:
- /^[0-9]/