Skip to content

Commit d3793d6

Browse files
committed
chore: fix phantomjs for travis
1 parent c475241 commit d3793d6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
language: node_js
22
node_js:
33
- 5.5
4-
before_install: npm install -g gulp testem
4+
before_install:
5+
before_install:
6+
- mkdir travis-phantomjs
7+
- wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
8+
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs
9+
- export PATH=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH
10+
- npm install -g gulp testem
511
script: "gulp travis && testem ci -f config/testem.json"

0 commit comments

Comments
 (0)