Skip to content

Commit

Permalink
such travis
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner committed May 16, 2017
1 parent 410fa36 commit a36a44f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .travis.yml
Expand Up @@ -7,10 +7,17 @@ node_js:
cache:
yarn: true

before_install:
- "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
- "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
- "if [ $(phantomjs --version) != '2.1.1' ]; then wget https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; fi"
- "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
- "phantomjs --version"

install:
- yarn
- yarn global add phantomjs-prebuilt
- ./node_modules/.bin/bower install

script:
- ./bin/lint-features
- yarn run test
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -103,7 +103,6 @@
"mocha": "2.4.5",
"mocha-only-detector": "0.0.2",
"morgan": "^1.7.0",
"phantomjs-prebuilt": "^2.1.12",
"pretender": "1.0.0",
"rimraf": "2.5.2",
"rsvp": "3.2.1"
Expand Down

0 comments on commit a36a44f

Please sign in to comment.