Skip to content

Commit

Permalink
Use yarn on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Feb 12, 2017
1 parent 6e844b2 commit 9362bf8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ matrix:
- node_js: "lts/*"
env: LINT=true
before_script:
- 'if [ "$WEBPACK_VERSION" ]; then npm install webpack@$WEBPACK_VERSION; fi'
- 'if [ "$WEBPACK_VERSION" ]; then yarn add webpack@$WEBPACK_VERSION; fi'
script:
- 'if [ -n "${LINT-}" ]; then npm run lint ; fi'
- 'if [ -z "${LINT-}" ]; then npm run test-ci ; fi'
- 'if [ -n "${LINT-}" ]; then yarn lint ; fi'
- 'if [ -z "${LINT-}" ]; then yarn test-ci ; fi'
after_success:
- npm run coverage
- yarn coverage

0 comments on commit 9362bf8

Please # to comment.