-
Notifications
You must be signed in to change notification settings - Fork 62
/
.travis.yml
53 lines (53 loc) · 1.09 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
language: python
python:
- "2.7"
env:
- TOXENV=py27
matrix:
include:
- python: "3.8"
env: TOXENV=lint
- python: "2.7"
env: TOXENV=py27
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "3.7"
env: TOXENV=py37
dist: xenial
sudo: yes
- python: "3.8"
env: TOXENV=py38
dist: xenial
sudo: yes
- python: "pypy"
env: TOXENV=pypy
- python: "pypy3"
env: TOXENV=pypy3
- python: "2.7"
env: TOXENV=jy27
allow_failures:
- python: "pypy"
env: TOXENV=pypy
- python: "pypy3"
env: TOXENV=pypy3
- python: "2.7"
env: TOXENV=jy27
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libxml2-utils xsltproc
install:
- pip install -U setuptools pip wheel jip
- pip install -U zc.buildout tox coverage python-coveralls
- buildout
- tox --version
- sort --version
- env | sort
- if [ "$TOXENV" == "jy27" ]; then make install-jython; fi
script:
- tox
after_success:
- coverage combine .tox/*/tmp
- coverage report
- coveralls