Commit 6ee41872 6ee4187253c3fa7e64562a45cf40295440851933 by Nicolas Perriault

travis: trying to setup phantomjs installation in /Users/niko

1 parent 2c252db0
Showing 1 changed file with 10 additions and 10 deletions
...@@ -4,29 +4,29 @@ branches: ...@@ -4,29 +4,29 @@ branches:
4 - "1.0" 4 - "1.0"
5 5
6 before_install: 6 before_install:
7 - echo "installing PhantomJS 1.8.2"
7 - wget http://phantomjs.googlecode.com/files/phantomjs-1.8.2-linux-i686.tar.bz2 8 - wget http://phantomjs.googlecode.com/files/phantomjs-1.8.2-linux-i686.tar.bz2
8 - tar -xvf phantomjs-1.8.2-linux-i686.tar.bz2 9 - tar -xvf phantomjs-1.8.2-linux-i686.tar.bz2
9 - ls -la phantomjs-1.8.2-linux-i686/bin/phantomjs 10 - sudo mv phantomjs-1.8.2-linux-i686/bin/phantomjs ~/phantomjs182
10 - sudo mv phantomjs-1.8.2-linux-i686/bin/phantomjs /usr/local/phantomjs182 11 - ~/phantomjs182 --version
11 - chmod +x /usr/local/phantomjs182 12 - echo "installing PhantomJS 1.9.0"
12 - wget http://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-i686.tar.bz2 13 - wget http://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-i686.tar.bz2
13 - tar -xvf phantomjs-1.9.0-linux-i686.tar.bz2 14 - tar -xvf phantomjs-1.9.0-linux-i686.tar.bz2
14 - ls -la phantomjs-1.9.0-linux-i686/bin/phantomjs 15 - sudo mv phantomjs-1.9.0-linux-i686/bin/phantomjs ~/phantomjs190
15 - sudo mv phantomjs-1.9.0-linux-i686/bin/phantomjs /usr/local/phantomjs190 16 - ~/phantomjs190 --version
16 - chmod +x /usr/local/phantomjs190
17 17
18 before_script: 18 before_script:
19 - "npm install -g jshint@1.1.0" 19 - "npm install -g jshint@1.1.0"
20 - /usr/local/phantomjs182 --version 20 - ~/phantomjs182 --version
21 - /usr/local/phantomjs190 --version 21 - ~/phantomjs190 --version
22 22
23 script: 23 script:
24 - make test 24 - make test
25 25
26 env: 26 env:
27 matrix: 27 matrix:
28 - PHANTOMJS_EXECUTABLE="/usr/local/phantomjs182 --local-to-remote-url-access=yes --ignore-ssl-errors=yes" 28 - PHANTOMJS_EXECUTABLE="~/phantomjs182 --local-to-remote-url-access=yes --ignore-ssl-errors=yes"
29 - PHANTOMJS_EXECUTABLE="/usr/local/phantomjs190 --local-to-remote-url-access=yes --ignore-ssl-errors=yes" 29 - PHANTOMJS_EXECUTABLE="~/phantomjs190 --local-to-remote-url-access=yes --ignore-ssl-errors=yes"
30 30
31 notifications: 31 notifications:
32 irc: 32 irc:
......