Skip to content

Commit

Permalink
Use patched version of wkhtmltopdf
Browse files Browse the repository at this point in the history
  • Loading branch information
bibstha committed Sep 22, 2018
1 parent 79ff029 commit 4eb9f89
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ gemfile:
- gemfiles/3.2.gemfile
before_script:
- bundle list
- sudo apt-get install -y wkhtmltopdf
- sudo apt-get install -y xfonts-base xfonts-75dpi
- wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.trusty_amd64.deb
- sudo dpkg -i wkhtmltox_0.12.5-1.trusty_amd64.deb
- sudo apt-get install -f
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
env: WKHTMLTOPDF_BIN=/usr/bin/wkhtmltopdf
env: WKHTMLTOPDF_BIN=/usr/local/bin/wkhtmltopdf
script:
- bundle exec rake
matrix:
Expand Down

0 comments on commit 4eb9f89

Please sign in to comment.