Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (22 sloc) 977 Bytes
# This version of .travis.yml always downloads the stable version of
# phantom-qunit.js before running the tests, so you don't have to check
# phantom-xxx.js into your repository. Make sure to change qunit to jasmine or
# mocha if necessary. If you aren't sure which version of .travis.yml to use,
# pick this one.
# We aren't actually using any particular language here, so let's use Ruby
# since that's probably the most likely Travis worker to be available
language: ruby
- 1.9.3
email: false
# Travis needs this stuff to start Phantom1.4...
# When they get Phantom1.5 this section can go away
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
# Change these to jasmine or mocha if necessary
- "wget"
# Make sure to change test/test.html to the path to your test page
- "phantomjs phantom-jasmine.js test/index.html"