Skip to content

Commit

Permalink
To support yarn in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
patw0929 committed Feb 27, 2017
1 parent 9e9a7d7 commit b55195e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
language: node_js
cache: node_modules
cache:
yarn: true
directories:
- node_modules
node_js:
- "7.2.1"
before_install:
- |
yarn add react@^15.4.2 react-dom@^15.4.2 --peer
before_script: yarn add react@^15.4.2 react-dom@^15.4.2 --peer
after_success: yarn run coverage
after_script: yarn run coveralls

0 comments on commit b55195e

Please sign in to comment.