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
|
dist: trusty
sudo: true
language: python
python:
- "3.4"
- "3.5"
- "3.6"
matrix:
include:
- python: 2.7
env: TARGET=check2
# XXX re-enable after fixing all the lint issues
#- python: 3.6
# env: TARGET=flake8
- python: 3.4
env:
TARGET=coverage
before_script:
- python3 -m pip install -U coverage
- python3 -m pip install -U codecov
script:
- make $TARGET
after_success:
- codecov
# XXX cache the installs?
env:
global:
- TRIAL_ARGS=-j4
matrix:
- TARGET=check3
install:
- pip install flake8
# These match "make depends"
- pip install twisted==16.4.0 mock==1.3.0 configobj==5.0.6 passlib==1.6.5 pycurl
- pip install http://launchpad.net/python-distutils-extra/trunk/2.39/+download/python-distutils-extra-2.39.tar.gz
# build & install python-apt
- make pipinstallpythonapt
script:
- make $TARGET PYTHON=python$TRAVIS_PYTHON_VERSION
|