aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatt Lenc <mattl@incuna.com>2014-07-16 12:05:54 +0100
committerMatt Lenc <mattl@incuna.com>2014-07-16 12:05:54 +0100
commitf51eaeed13842d90cc8f0422a597b0ac6a6f8418 (patch)
tree9619959d3130491c5c15a3b3e0c1e564f682892f /.travis.yml
parent23f08bc0d0b8ea0cd213f09c618f8cd9baabb1ed (diff)
downloaddjango-wkhtmltopdf-f51eaeed13842d90cc8f0422a597b0ac6a6f8418.tar.gz
django-wkhtmltopdf-f51eaeed13842d90cc8f0422a597b0ac6a6f8418.tar.bz2
django-wkhtmltopdf-f51eaeed13842d90cc8f0422a597b0ac6a6f8418.zip
Use precompiled library not source one
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 71a5ddb..9988bd4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,15 +16,15 @@ matrix:
env: DJANGO="Django>=1.4,<1.5"
before_install:
- PWD=`pwd`
+ - WHICH_WK=`which wkhtmltopdf`
- "echo '## Installing dependencies'"
- "sudo apt-get update"
- "sudo apt-get install -y openssl build-essential xorg libssl-dev"
- "echo '## Downloading wkhtmltopdf 0.12.1'"
- - "wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1.tar.bz2"
- - "mkdir -p $PWD"
- - "echo '## Extracting wkhtmltox into $PWD'"
- - "tar xvjf wkhtmltox-0.12.1.tar.bz2 -C $PWD"
- - "export WKHTMLTOPDF_CMD=$PWD/wkhtmltox/bin/wkhtmltopdf"
+ - "wget http://freefr.dl.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1_linux-precise-amd64.deb"
+ - "echo '## Installing wkhtmltox'"
+ - "dpkg -i wkhtmltox-0.12.1_linux-precise-amd64.deb"
+ - "export WKHTMLTOPDF_CMD=$WHICH_WK"
install:
- pip install $DJANGO
- pip install -r test_requirements.txt