Skip to content

Commit 25c8ca0

Browse files
committed
Update phantomjs
1 parent 8494359 commit 25c8ca0

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,4 @@ script:
66
- npm install -g serve > /dev/null
77
- serve -p 3000 > /dev/null &
88
- sleep 1
9-
- curl -s -L https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2 > file.tar.bz2
10-
- bzip2 -d file.tar.bz2
11-
- tar -xf file.tar
12-
- ./phantomjs-2.1.1-linux-x86_64/bin/phantomjs test/phantom-runner.js
9+
- ./node_modules/phantomjs-prebuilt/bin/phantomjs test/phantom-runner.js

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"browserify": "^14.3.0",
1717
"eslint": "^3.17.1",
1818
"mocha": "^2.3.2",
19-
"phantomjs": "^2.1.7",
19+
"phantomjs-prebuilt": "^2.1.14",
2020
"pre-commit": "^1.2.2",
2121
"should": "^7.1.0",
2222
"sinon-browser-only": "^1.12.1"

test/phantom-runner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ page.onConsoleMessage = function(msg) {
66

77
page.open("http://localhost:3000/test/index.html", function(status) {
88
if (status === "success") {
9-
var maxtimeOutMillis = 10000,
9+
var maxtimeOutMillis = 30000,
1010
start = new Date().getTime(),
1111
condition = false,
1212
interval = setInterval(function() {

0 commit comments

Comments
 (0)