forked from incuna/django-wkhtmltopdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
61 lines (60 loc) · 1.6 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
60
61
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 dependencies'"
- "sudo apt-get update"
- "sudo apt-get install -y openssl build-essential xorg libssl-dev xfonts-75dpi"
- "echo '## Downloading wkhtmltopdf'"
- "wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-wheezy-amd64.deb"
- "echo '## Installing wkhtmltox'"
- "sudo dpkg -i wkhtmltox-0.12.2.1_linux-wheezy-amd64.deb"
- WHICH_WK=`which wkhtmltopdf`
- "export WKHTMLTOPDF_CMD=$WHICH_WK"
install:
- pip install $DJANGO
- pip install -r test_requirements.txt
- pip install .
script:
- make test
notifications:
email: false