forked from alexhayes/django-pdfkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
70 lines (62 loc) · 1.81 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
62
63
64
65
66
67
68
69
70
language: python
matrix:
include:
# See https://docs.djangoproject.com/en/1.11/faq/install/#what-python-version-can-i-use-with-django
# Python 2.7
- python: 2.7
env: TOXENV=py27-django18
- python: 2.7
env: TOXENV=py27-django19
- python: 2.7
env: TOXENV=py27-django110
- python: 2.7
env: TOXENV=py27-django111
# Python 3.4
- python: 3.4
env: TOXENV=py34-django18
- python: 3.4
env: TOXENV=py34-django19
- python: 3.4
env: TOXENV=py34-django110
- python: 3.4
env: TOXENV=py34-django111
# Python 3.5
- python: 3.5
env: TOXENV=py35-django18
- python: 3.5
env: TOXENV=py35-django19
- python: 3.5
env: TOXENV=py35-django110
- python: 3.5
env: TOXENV=py35-django111
# Python 3.6
- python: 3.6
env: TOXENV=py36-django111
# pypy
- python: pypy
env: TOXENV=pypy-django18
- python: pypy
env: TOXENV=pypy-django19
- python: pypy
env: TOXENV=pypy-django110
- python: pypy
env: TOXENV=pypy-django111
before_install:
- "wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz"
- "tar -xf wkhtmltox-0.12.3_linux-generic-amd64.tar.xz"
- "sudo cp -r wkhtmltox/* /usr/"
install:
- pip install tox
- pip install codecov
- pip install Django==1.10
- pip install -r requirements/test.txt
- pip install -r requirements/docs.txt
# TODO: Switch over to pylint v2.0.0 when it becomes available - see circle.yml for further changes
- pip install git+https://github.com/PyCQA/pylint.git
- pip install git+https://github.com/PyCQA/astroid.git
script:
- py.test --cov=django_pdfkit
- pylint django_pdfkit
- cd docs && make clean html
after_success:
- bash <(curl -s https://codecov.io/bash)