diff options
-rw-r--r-- | .travis.yml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml index 3816ee5..e4f8d64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,16 +16,16 @@ matrix: env: DJANGO=Django==1.4.13 - python: "3.4" env: DJANGO=Django==1.4.13 +before_install: + - "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" install: - - 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 - - pip install $DJANGO - pip install -r test_requirements.txt - pip install . |