Skip to content

Instantly share code, notes, and snippets.

@oyiptong
Forked from erikvold/jpm.travis.yml
Last active August 29, 2015 14:11
Show Gist options
  • Save oyiptong/819d8743506859406423 to your computer and use it in GitHub Desktop.
Save oyiptong/819d8743506859406423 to your computer and use it in GitHub Desktop.
language: node_js
node_js:
- "0.10"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 -extension RANDR"
before_script:
- npm install jpm -g
- npm install mozilla-download -g
- cd ..
- mozilla-download --branch mozilla-central -c prerelease firefox
- cd $TRAVIS_BUILD_DIR
script:
- export JPM_FIREFOX_BINARY=$TRAVIS_BUILD_DIR/../firefox/firefox
- jpm test -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment