diff options
author | Matt Lenc <mattl@incuna.com> | 2014-06-18 16:00:30 +0100 |
---|---|---|
committer | Matt Lenc <mattl@incuna.com> | 2014-06-18 16:00:30 +0100 |
commit | 2f999b9bde4b64271fb42e9caa30474451c4098d (patch) | |
tree | a703c3c0be22b83217f56aa394a98cafaac74bfd | |
parent | d7c17ca2f766a214dae867a1dfe0a7ac0d64837c (diff) | |
download | django-wkhtmltopdf-2f999b9bde4b64271fb42e9caa30474451c4098d.tar.gz django-wkhtmltopdf-2f999b9bde4b64271fb42e9caa30474451c4098d.tar.bz2 django-wkhtmltopdf-2f999b9bde4b64271fb42e9caa30474451c4098d.zip |
Move pwd to before_install section
C'mon Travis!
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index e4f8d64..352b7c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,6 @@ python: - "3.3" - "3.4" env: - global: - - WKHTML_HOME=`pwd`/"_wkhtmltopdf" - DJANGO=Django==1.4.13 - DJANGO=Django==1.5.8 - DJANGO=Django==1.6.5 @@ -17,14 +15,15 @@ matrix: - python: "3.4" env: DJANGO=Django==1.4.13 before_install: + - PWD=`pwd` - "echo '## Installing dependencies'" - "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 $WKHTML_HOME" - - "echo '## Extracting wkhtmltox into $WKHTML_HOME'" - - "tar xvJf wkhtmltox-linux-amd64_0.12.0-03c001d.tar.xz -C $WKHTML_HOME" - - "export WKHTMLTOPDF_CMD=$WKHTML_HOME/wkhtmltox/bin/wkhtmltopdf" + - "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 $DJANGO - pip install -r test_requirements.txt |