diff --git a/.travis.yml b/.travis.yml index f9656fbe..089c5237 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,11 +2,10 @@ language: node_js node_js: - "0.10" before_install: - - export PHANTOMJS_BIN=/usr/local/phantomjs/bin/phantomjs - - wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-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 + - mkdir travis-phantomjs + - wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 + - tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs + - export PATH=$PWD/travis-phantomjs:$PATH before_script: - npm install -g grunt-cli - npm install -g bower @@ -15,4 +14,6 @@ before_script: - grunt prod notifications: email: true -# Taken from: https://github.com/mdix/es6-babel-browserify-karma-boilerplate/blob/master/.travis.yml#L3 \ No newline at end of file +# Taken from: https://github.com/mdix/es6-babel-browserify-karma-boilerplate/blob/master/.travis.yml#L3 + +#trying test