Skip to content

Commit

Permalink
Merge pull request #390 from bustlelabs/update-travis
Browse files Browse the repository at this point in the history
Use trusty dist and phantomjs-prebuilt at travis
  • Loading branch information
bantic committed May 10, 2016
2 parents c74223a + 06853f4 commit 64f7d69
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
---
language: node_js
node_js:
- "5.4.1"
- "stable"

sudo: false
sudo: required
dist: trusty

cache:
directories:
- node_modules

before_install:
# See https://github.com/travis-ci/travis-ci/issues/3225#issuecomment-177592725
- 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
- echo $(phantomjs --version)
- npm config set spin false
- npm install -g npm@^3
- npm config set progress false
- npm install phantomjs-prebuilt

install:
- npm install -g broccoli-cli
- npm install -g bower
- bower install
- npm install

script:
Expand Down

0 comments on commit 64f7d69

Please sign in to comment.