Skip to content

Commit 0321713

Browse files
authored
Use yarn on travis
1 parent d2206fd commit 0321713

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ matrix:
1414
- node_js: "0.10"
1515
env: WEBPACK_VERSION="1"
1616
before_script:
17-
- 'if [ "$WEBPACK_VERSION" ]; then npm install webpack@$WEBPACK_VERSION; fi'
17+
- 'if [ "$WEBPACK_VERSION" ]; then yarn add webpack@$WEBPACK_VERSION; fi'
1818
script:
19-
- 'if [ -n "${LINT-}" ]; then npm run lint ; fi'
20-
- 'if [ -z "${LINT-}" ]; then npm run test-ci ; fi'
19+
- 'if [ -n "${LINT-}" ]; then yarn lint ; fi'
20+
- 'if [ -z "${LINT-}" ]; then yarn test-ci ; fi'
2121
after_success:
22-
- npm run coverage
22+
- yarn coverage

0 commit comments

Comments
 (0)