From 87d59fabd6468a5e01daf8aefb0df1a3387d6d8f Mon Sep 17 00:00:00 2001 From: Matthew Dean Date: Tue, 15 Mar 2016 09:42:34 -0700 Subject: [PATCH] Fix attempt for Travis build --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) 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