This repository has been archived by the owner on Jun 29, 2020. It is now read-only.
forked from incuna/django-wkhtmltopdf
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.travis.yml
59 lines (58 loc) · 1.46 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
54
55
56
57
58
59
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
env:
- DJANGO="Django>=1.4,<1.5"
- DJANGO="Django>=1.5,<1.6"
- DJANGO="Django>=1.6,<1.7"
- DJANGO="Django>=1.7,<1.8"
- DJANGO="Django>=1.8,<1.9"
- DJANGO="Django>=1.9,<1.10"
- DJANGO="Django>=1.10,<2.0"
matrix:
exclude:
- python: "2.6"
env: DJANGO="Django>=1.7,<1.8"
- python: "2.6"
env: DJANGO="Django>=1.8,<1.9"
- python: "2.6"
env: DJANGO="Django>=1.9,<1.10"
- python: "2.6"
env: DJANGO="Django>=1.10,<2.0"
- python: "3.3"
env: DJANGO="Django>=1.4,<1.5"
- python: "3.3"
env: DJANGO="Django>=1.9,<1.10"
- python: "3.3"
env: DJANGO="Django>=1.10,<2.0"
- python: "3.4"
env: DJANGO="Django>=1.4,<1.5"
- python: "3.5"
env: DJANGO="Django>=1.4,<1.5"
- python: "3.5"
env: DJANGO="Django>=1.5,<1.6"
- python: "3.5"
env: DJANGO="Django>=1.6,<1.7"
- python: "3.5"
env: DJANGO="Django>=1.7,<1.8"
before_install:
- PWD=`pwd`
- echo '## Installing puppeteer dependencies'
- sudo apt-get update -qq
- sudo apt-get install -y libxrender1 libfontconfig1 zlib1g libfreetype6 libx11-6 libxext6
- echo '## Installing puppeteer-pdf'
- npm config set prefix ~/.local
- PATH=~/.local/bin/:$PATH
- npm install -g puppeteer-pdf
install:
- pip install $DJANGO
- pip install -r requirements/test_requirements.txt
- pip install .
script:
- make test
notifications:
email: false