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:
- "1.0"
before_install:
- echo "installing PhantomJS 1.8.2"
- wget http://phantomjs.googlecode.com/files/phantomjs-1.8.2-linux-i686.tar.bz2
- tar -xvf phantomjs-1.8.2-linux-i686.tar.bz2
- ls -la phantomjs-1.8.2-linux-i686/bin/phantomjs
- sudo mv phantomjs-1.8.2-linux-i686/bin/phantomjs /usr/local/phantomjs182
- chmod +x /usr/local/phantomjs182
- sudo mv phantomjs-1.8.2-linux-i686/bin/phantomjs ~/phantomjs182
- ~/phantomjs182 --version
- echo "installing PhantomJS 1.9.0"
- wget http://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-i686.tar.bz2
- tar -xvf phantomjs-1.9.0-linux-i686.tar.bz2
- ls -la phantomjs-1.9.0-linux-i686/bin/phantomjs
- sudo mv phantomjs-1.9.0-linux-i686/bin/phantomjs /usr/local/phantomjs190
- chmod +x /usr/local/phantomjs190
- sudo mv phantomjs-1.9.0-linux-i686/bin/phantomjs ~/phantomjs190
- ~/phantomjs190 --version
before_script:
- "npm install -g jshint@1.1.0"
- /usr/local/phantomjs182 --version
- /usr/local/phantomjs190 --version
- ~/phantomjs182 --version
- ~/phantomjs190 --version
script:
- make test
env:
matrix:
- PHANTOMJS_EXECUTABLE="/usr/local/phantomjs182 --local-to-remote-url-access=yes --ignore-ssl-errors=yes"
- PHANTOMJS_EXECUTABLE="/usr/local/phantomjs190 --local-to-remote-url-access=yes --ignore-ssl-errors=yes"
- PHANTOMJS_EXECUTABLE="~/phantomjs182 --local-to-remote-url-access=yes --ignore-ssl-errors=yes"
- PHANTOMJS_EXECUTABLE="~/phantomjs190 --local-to-remote-url-access=yes --ignore-ssl-errors=yes"
notifications:
irc:
......