Skip to content

Instantly share code, notes, and snippets.

@fprieur
Last active August 29, 2015 13:58
Show Gist options
  • Save fprieur/10291989 to your computer and use it in GitHub Desktop.
Save fprieur/10291989 to your computer and use it in GitHub Desktop.
Add this to your .travis.yml if you want to run your casperjs test on travis-ci

Add this to your .travis.yml if you want to run your casperjs test on travis-ci

before_script:             
 - wget https://github.com/n1k0/casperjs/archive/1.1-beta3.tar.gz -O /tmp/casper.tar.gz
 - tar -xvf /tmp/casper.tar.gz
 - export PATH=$PATH:$PWD/casperjs-1.1-beta3/bin/
script:
    casperjs test yourtests.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment