Skip to content

Commit

Permalink
Use Yarn (#488)
Browse files Browse the repository at this point in the history
* Add yarn.lock

* Use yarn on travis
  • Loading branch information
boopathi authored and vigneshshanmugam committed Apr 4, 2017
1 parent c341ff0 commit b42a9d8
Show file tree
Hide file tree
Showing 2 changed files with 4,501 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,21 @@ git:
depth: 10
sudo: false
language: node_js
cache:
directories:
- node_modules
cache: yarn

node_js:
- '7'
- '6'
- '4'

script:
- 'if [ -n "${LINT-}" ]; then npm run lint ; fi'
- npm run test-ci
- 'if [ -n "${LINT-}" ]; then yarn run lint ; fi'
- yarn run test-ci

matrix:
fast_finish: true
include:
- node_js: "node"
env: LINT=true

after_success: npm run coverage-ci
after_success: yarn run coverage-ci
Loading

0 comments on commit b42a9d8

Please # to comment.