aboutsummaryrefslogtreecommitdiffstats
path: root/before_script.sh
diff options
context:
space:
mode:
authorGeorge Hickman <george@ghickman.co.uk>2013-09-20 04:38:45 -0700
committerGeorge Hickman <george@ghickman.co.uk>2013-09-20 04:38:45 -0700
commit486e63e46eff06d0e46cd6b8e04e393f22beb40d (patch)
tree212fc8be57d811ddf71c650f4e7f59b605781899 /before_script.sh
parent9c5d3def72cafdcfd85784c53836421943e83277 (diff)
parentb3dbff596676d983de5ccee6727945c3b3360ca9 (diff)
downloaddjango-wkhtmltopdf-486e63e46eff06d0e46cd6b8e04e393f22beb40d.tar.gz
django-wkhtmltopdf-486e63e46eff06d0e46cd6b8e04e393f22beb40d.tar.bz2
django-wkhtmltopdf-486e63e46eff06d0e46cd6b8e04e393f22beb40d.zip
Merge pull request #41 from incuna/fix-tests
Fix tests on Travis
Diffstat (limited to 'before_script.sh')
-rwxr-xr-xbefore_script.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/before_script.sh b/before_script.sh
index ed0b6b4..bde2c4e 100755
--- a/before_script.sh
+++ b/before_script.sh
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
-sudo aptitude install -y openssl build-essential xorg libssl-dev
-wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2
-tar xvjf wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2
-sudo chown root:root wkhtmltopdf-i386
-sudo mv wkhtmltopdf-i386 /usr/bin/wkhtmltopdf
-export WKHTMLTOPDF=/usr/bin/wkhtmltopdf
+sudo apt-get install -y openssl build-essential xorg libssl-dev
+wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-amd64.tar.bz2
+tar xvjf wkhtmltopdf-0.11.0_rc1-static-amd64.tar.bz2
+sudo chown root:root wkhtmltopdf-amd64
+sudo mv wkhtmltopdf-amd64 /usr/bin/wkhtmltopdf
+export WKHTMLTOPDF_CMD=/usr/bin/wkhtmltopdf