From d4a938c08539264add40126ff5c8ab673a8f78c1 Mon Sep 17 00:00:00 2001 From: mattack108 Date: Tue, 15 Jan 2013 17:36:53 +0000 Subject: Update travis with before_script.sh which install wkhtmltopdf for Travis --- before_script.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 before_script.sh (limited to 'before_script.sh') diff --git a/before_script.sh b/before_script.sh new file mode 100644 index 0000000..ed0b6b4 --- /dev/null +++ b/before_script.sh @@ -0,0 +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 -- cgit v1.2.3