Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

travis-841337: PhantomJS on your TravisCI

Continuously-multi-headless-testing FTW.

Signed-off-by: Joe Walker <jwalker@mozilla.com>
  • Loading branch information...
commit d4aff1275cf5748a2c4e3d201fc23a01a1829762 1 parent 8084da5
@joewalker joewalker authored
Showing with 3 additions and 2 deletions.
  1. +2 −0  .travis.yml
  2. +1 −2  phantom-test.js
View
2  .travis.yml
@@ -2,4 +2,6 @@
language: node_js
node_js:
- "0.8"
+script:
+ - "node gcli.js test && phantomjs ./phantom-test.js"
View
3  phantom-test.js
@@ -1,4 +1,3 @@
-#!/usr/bin/env node
/*
* Copyright 2012, Mozilla Foundation and contributors
*
@@ -33,4 +32,4 @@ page.onConsoleMessage = function() {
console.log.apply(console, arguments);
};
-page.open('http://localhost:9999/localtest.html', pageLoaded);
+page.open('localtest.html', pageLoaded);
Please sign in to comment.
Something went wrong with that request. Please try again.