-
Notifications
You must be signed in to change notification settings - Fork 287
/
.travis.yml
46 lines (42 loc) · 943 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
sudo: required
dist: xenial
cache: pip
language: python
python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
- '3.7'
- '3.8'
# Travis doesn't support 3.9 yet
# - '3.9'
# allow failures
- 'nightly'
- 'pypy2.7-6.0'
- 'pypy3.5-6.0'
matrix:
fast_finish: true
allow_failures:
- python: 'nightly'
- python: 'pypy2.7-6.0'
- python: 'pypy3.5-6.0'
addons:
apt:
packages:
- texlive-latex-extra
- texlive-pictures
- texlive-science
- texlive-fonts-recommended
- lmodern
- ghostscript
- pgf
install:
- cat /etc/ImageMagick*/policy.xml
- sudo sed '/pattern=".*PDF.*"/d' -i /etc/ImageMagick*/policy.xml
- cat /etc/ImageMagick*/policy.xml
- pip install 3to2 future
- pip install codecov
- 'if [ "$TRAVIS_PYTHON_VERSION" == 3.4 ]; then pip install -e .[all] --upgrade; else pip install -r dev_requirements.txt --upgrade; fi'
script: ./testall.sh
after_script: codecov