Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
(hopefully) fix wkhtmltopdf
Browse files Browse the repository at this point in the history
  • Loading branch information
anatskiy committed Jan 30, 2017
1 parent 3895c6a commit 292fdb7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ services:
before_script:
- psql -c 'create database parkour;' -U postgres
- mkdir /home/travis/build/maxplanck-ie/parkour/logs

before_install:
- sudo apt-get install -y wkhtmltopdf xvfb
- echo -e '#!/bin/bash\nxvfb-run -a --server-args="-screen 0, 1024x768x24" /usr/bin/wkhtmltopdf -q $*' > /usr/bin/wkhtmltopdf.sh
- chmod a+x /usr/ , , ;,bin/wkhtmltopdf.sh
- ln -s /usr/bin/wkhtmltopdf.sh /usr/local/bin/wkhtmltopdf

install:
- sudo apt-get install -y wkhtmltopdf
- pip install -r requirements.txt
install: pip install -r requirements.txt

script: python manage.py test

0 comments on commit 292fdb7

Please sign in to comment.