-
Notifications
You must be signed in to change notification settings - Fork 51
/
.travis.yml
27 lines (27 loc) · 932 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
language: python
sudo: false
# Get japanese minch fonts
addons:
apt:
packages:
- fonts-takao-mincho
# Python 3.5 isn't currently installed by default on Travis so it must be listed here.
# However this causes Travis to detect all environments as 3.5 so to fix that we need
# to list all versions here and use tox-travis insead of TOXENV.
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
# The version of GS in the repos is too old and using debian-sid often breaks
before_install:
- wget https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922/ghostscript-9.22-linux-x86_64.tgz
- tar -xvf ghostscript-9.22-linux-x86_64.tgz
- mv ghostscript-9.22-linux-x86_64/gs-922-linux-x86_64 ghostscript-9.22-linux-x86_64/gs
- export PATH=$PWD/ghostscript-9.22-linux-x86_64:$PATH
install:
- travis_retry pip install tox-travis
script:
- tox
notifications:
email: false