aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorJonathan Liuti <liuti.john@gmail.com>2015-11-25 13:29:18 +0100
committerJonathan Liuti <liuti.john@gmail.com>2015-12-01 07:50:46 +0100
commitfbf54be1da1cc90490336a57df6678a2f833a5f7 (patch)
treed8a329fb7c2ce5ae05221dffe411493b4f737e8a /.travis.yml
parent1a849e356d1c2487337c62768f16ea80883c9bf1 (diff)
downloaddjango-wkhtmltopdf-fbf54be1da1cc90490336a57df6678a2f833a5f7.tar.gz
django-wkhtmltopdf-fbf54be1da1cc90490336a57df6678a2f833a5f7.tar.bz2
django-wkhtmltopdf-fbf54be1da1cc90490336a57df6678a2f833a5f7.zip
Extracted logic from views - fixed tests.
The logic was coupled with the views which made things difficult to reuse if you wanted to use the pdf generation somehwere else than in a view. With this patch, the logic has been moved to `utils.py` and should be more easy to reuse. Tests have been adapted and made compatible with django > 1.7
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 8dae083..0c64cd5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,8 +8,15 @@ 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"
+
matrix:
exclude:
+ - python: "2.6"
+ env: DJANGO="Django>=1.7,<1.8"
+ - python: "2.6"
+ env: DJANGO="Django>=1.8,<1.9"
- python: "3.3"
env: DJANGO="Django>=1.4,<1.5"
- python: "3.4"