aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorCharlie Denton <charlie@meshy.co.uk>2014-06-19 11:46:18 +0100
committerCharlie Denton <charlie@meshy.co.uk>2014-06-19 11:46:18 +0100
commit8e615cf00343d61e2bf3716c66888758aeb878ed (patch)
tree9f6f4ada901749eaeddb32ac75c0955a5327c2b5 /.travis.yml
parent0de693a16fa35525d3adb115bf8bf21c76581d0b (diff)
parent301bef0d6931582583a156b3195b8b13f54d2875 (diff)
downloaddjango-wkhtmltopdf-8e615cf00343d61e2bf3716c66888758aeb878ed.tar.gz
django-wkhtmltopdf-8e615cf00343d61e2bf3716c66888758aeb878ed.tar.bz2
django-wkhtmltopdf-8e615cf00343d61e2bf3716c66888758aeb878ed.zip
Merge pull request #48 from incuna/python3
Add Python3 support
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml28
1 files changed, 25 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index cb3ffca..3f3dacc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,10 +2,32 @@ language: python
python:
- "2.6"
- "2.7"
-before_script:
- - "./before_script.sh"
+ - "3.3"
+ - "3.4"
+env:
+ - DJANGO="Django>=1.4,<1.5"
+ - DJANGO="Django>=1.5,<1.6"
+ - DJANGO="Django>=1.6,<1.7"
+matrix:
+ exclude:
+ - python: "3.3"
+ env: DJANGO="Django>=1.4,<1.5"
+ - python: "3.4"
+ env: DJANGO="Django>=1.4,<1.5"
+before_install:
+ - PWD=`pwd`
+ - "echo '## Installing dependencies'"
+ - "sudo apt-get update"
+ - "sudo apt-get install -y openssl build-essential xorg libssl-dev"
+ - "echo '## Downloading wkhtmltopdf 0.12.0'"
+ - "wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.0/wkhtmltox-linux-amd64_0.12.0-03c001d.tar.xz"
+ - "mkdir -p $PWD"
+ - "echo '## Extracting wkhtmltox into $PWD'"
+ - "tar xvJf wkhtmltox-linux-amd64_0.12.0-03c001d.tar.xz -C $PWD"
+ - "export WKHTMLTOPDF_CMD=$PWD/wkhtmltox/bin/wkhtmltopdf"
install:
- - pip install -r wkhtmltopdf/tests/test_requirements.txt
+ - pip install $DJANGO
+ - pip install -r test_requirements.txt
- pip install .
script:
- make test