Browse Source

Fix travis phantomjs bug

Adam Bouqdib 8 năm trước cách đây
mục cha
commit
922fa66d3f
1 tập tin đã thay đổi với 5 bổ sung2 xóa
  1. 5 2
      .travis.yml

+ 5 - 2
.travis.yml

@@ -1,9 +1,12 @@
 language: node_js
 node_js:
-- '0.8'
+- '4.4'
 before_install:
-- npm install -g npm
 - npm install -g grunt-cli
+- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.1.10-ubuntu-12.04.tar.bz2
+- tar -xjf phantomjs-2.0.0-ubuntu-12.04.tar.bz2
+- sudo rm -rf /usr/local/phantomjs/bin/phantomjs
+- sudo mv phantomjs /usr/local/phantomjs/bin/phantomjs
 deploy:
   provider: npm
   email: [email protected]