From 9362bf8ef49cb408562032a44222afe4ded78b77 Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Sun, 12 Feb 2017 22:49:15 +0100 Subject: [PATCH] Use yarn on travis --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index b87130b5..68483ece 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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