diff --git a/.travis.yml b/.travis.yml index 1457ce05b..b71e6844e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,11 @@ node_js: - "4.0.0" - "0.12" - "0.10" +before_install: + - mkdir travis-phantomjs + - 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 + - tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs + - export PATH=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH install: - npm install -g grunt-cli - npm install