Skip to content

Commit

Permalink
Add proper yarn support for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Nov 21, 2016
1 parent b791dfc commit 42d6e0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -3,14 +3,14 @@ node_js:
- "0.12"
- "4"
- "6"
install: NV=$(node --version); if [ ${NV:0:5} = "v0.12" ]; then npm install; else npm install -g yarn; yarn --pure-lockfile; fi
script:
- npm run build
- npm run lint
- npm run pretest && npm run test:only
- npm run codecov
after_success:
- bash <(curl -s https://codecov.io/bash)
- bash <(curl -s https://codecov.io/bash)
cache: yarn
notifications:
email:
on_success: never
Expand Down

0 comments on commit 42d6e0c

Please sign in to comment.