Do you know the exact commands I would need to add to the travis file? I tried:
sudo: required > before_install: > - sudo apt-get -qq update > - sudo apt-get install wkhtmltopdf-dbg -y and: addons: > apt: > packages: > - wkhtmltopdf > before install: > - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi > - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install wkhtmltopdf; fi both with no luck. I'm testing on linux and osx, so I presume I'd need some sort of if-statement in there? On Thu, Apr 21, 2016 at 2:37 PM, Yichao Yu <[email protected]> wrote: > On Thu, Apr 21, 2016 at 2:32 PM, Tom Breloff <[email protected]> wrote: > > Hi all. I'm trying to figure out how to install the wkhtmltopdf > application > > (available through apt-get, homebrew, etc) for generating PNG files from > raw > > HTML (for Plots). I don't want to force the dependency as part of a > > standard install... if users want to add it then they can output PNG for > > Plotly, but it should (IMO) be a conditional dependency. > > > > I do, however, want to use it as part of the regression testing on > Travis, > > and that means it should be installed, but not through a standard BinDeps > > method. > > > > For any dependency/travis wizards... what's my best course of action? > > I believe you can run `apt-get` in your `.travis.yml` manually to install > those. > > > > > Thanks, > > Tom >
