forked from zopefoundation/z3c.rml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (33 loc) · 924 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
language: python
sudo: false
# Get japanese minch fonts
addons:
apt:
packages:
- fonts-takao-mincho
python:
- "3.8"
matrix:
include:
- python: "3.7"
dist: xenial
sudo: true
- python: "3.8"
dist: xenial
sudo: true
# 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 tox-travis coveralls
script:
- tox
notifications:
email: false
after_success:
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then
coveralls;
fi