Skip to content

Instantly share code, notes, and snippets.

@muffinresearch
Last active August 29, 2015 14:16
Show Gist options
  • Select an option

  • Save muffinresearch/b41d8413c1624de2ebd0 to your computer and use it in GitHub Desktop.

Select an option

Save muffinresearch/b41d8413c1624de2ebd0 to your computer and use it in GitHub Desktop.
language: node_js
node_js:
- "0.10"
addons:
firefox: "18.0"
install:
- "npm install"
before_script:
- export SLIMERJSLAUNCHER=$(which firefox) DISPLAY=:99.0 PATH=$TRAVIS_BUILD_DIR/slimerjs:$PATH
- export SLIMERVERSION=0.10.0pre
- git clone -q git://github.com/n1k0/casperjs.git
- pushd casperjs
- git checkout -q tags/$CASPERVERSION
- popd
- export PATH=$PATH:`pwd`/casperjs/bin
- sh -e /etc/init.d/xvfb start
# - wget http://download.slimerjs.org/releases/latest-slimerjs-stable/slimerjs-$SLIMERVERSION.zip
- wget http://download.slimerjs.org/nightlies/latest-slimerjs-master/slimerjs-$SLIMERVERSION.zip
- unzip slimerjs-$SLIMERVERSION.zip
- mv slimerjs-$SLIMERVERSION ./slimerjs
- phantomjs --version; casperjs --version; slimerjs --version
script:
- "npm test"
- "npm run-script uitest"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment