Permalink
Browse files

Merge pull request #3292 from paulfalgout/switch-to-yarn

Switch to yarn for travis
  • Loading branch information...
2 parents aa005fe + 7f04a12 commit 459f2a9496d58c7ddb6161928f2eec53f352fb59 @denar90 denar90 committed on GitHub Dec 26, 2016
Showing with 4,497 additions and 7 deletions.
  1. +9 −7 .travis.yml
  2. +4,488 −0 yarn.lock
View
@@ -2,12 +2,14 @@ sudo: false
language: node_js
node_js:
- "6"
-env: MAINRUN=true
-before_install:
- - npm config set ca ""
-install:
- - npm install && npm install travis-ci
+cache: yarn
+env:
+ - TEST_SUITE=coverage
+ - TEST_SUITE=browser
+after_install:
+ - yarn install travis-ci
+script:
+ - if [[ $TEST_SUITE = "coverage" ]]; then yarn run coveralls; fi
+ - if [[ $TEST_SUITE = "browser" ]]; then yarn run test-cross-browser; fi
after_success:
- - npm run-script coveralls && npm run-script test-cross-browser
- if [[ $TRAVIS_BRANCH = "master" ]] && [[ $TRAVIS_PULL_REQUEST = "false" ]]; then node trigger-deploy-mn-com.js; fi
-
Oops, something went wrong.

0 comments on commit 459f2a9

Please sign in to comment.