forked from xhtml2pdf/xhtml2pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (33 loc) · 826 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
language: python
sudo: true
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "pypy3"
env:
- RL=330
- RL=340
- RL=350
- RL=3510
- RL=3530
- RL=3550
matrix:
fast_finish: true
allow_failures:
- env: RL=330
- env: RL=340
#TEST
before_install:
- sudo apt-get update
- sudo apt-get install -y imagemagick
- sudo apt-get install -y ghostscript
- sudo sed -i 's#<policy domain="coder" rights="none" pattern="PDF" />#<policy domain="coder" rights="read|write" pattern="PDF" />#' /etc/ImageMagick-6/policy.xml
install:
- TOX_ENV=py${TRAVIS_PYTHON_VERSION}-rl${RL}
- pip install tox coveralls Sphinx sphinx-rtd-theme
script: tox -e $TOX_ENV
after_success: coveralls $COVERALLS_OPTION
before_script:
- cd doc/source ; sphinx-build -n -W -b html -d _build/doctrees . _build/html ; cd ../..