Skip to content

Commit

Permalink
Update travis.yml to use npm@3, node@6.2.0, and prebuilt phantom (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
bantic committed Jul 19, 2016
1 parent 9e06a5f commit e6d5ebe
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
language: node_js
node_js:
- "0.12"
- "6.2.0"

sudo: false
sudo: required
dist: trusty

cache:
directories:
Expand All @@ -22,13 +23,9 @@ matrix:
- env: EMBER_TRY_SCENARIO=ember-canary

before_install:
# See https://mediocre.com/forum/topics/phantomjs-2-and-travis-ci-we-beat-our-heads-against-a-wall-so-you-dont-have-to
# modified to not use sudo (just puts $PWD on the path so that $PWD/phantomjs is the phantom used
- 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
- export PATH=$PWD:$PATH
- "npm config set spin false"
- "npm install -g npm@^2"
- npm install -g npm@^3
- npm config set progress false
- npm install phantomjs-prebuilt

install:
- npm install -g bower
Expand Down

0 comments on commit e6d5ebe

Please sign in to comment.