From 9913d8e6b9b410930f5108b685fb89a602664fc9 Mon Sep 17 00:00:00 2001 From: Matt Lenc Date: Wed, 16 Jul 2014 12:12:56 +0100 Subject: Check for wkhtmltopdf after it was installed :D --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9988bd4..64075e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,6 @@ 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" @@ -24,6 +23,7 @@ before_install: - "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" + - WHICH_WK=`which wkhtmltopdf` - "export WKHTMLTOPDF_CMD=$WHICH_WK" install: - pip install $DJANGO -- cgit v1.2.3