From 410fa36f20fddf15106874a41c64cc48fed11817 Mon Sep 17 00:00:00 2001 From: Stefan Penner Date: Mon, 15 May 2017 10:49:26 -0700 Subject: [PATCH] update to yarn --- .travis.yml | 11 ++++++----- appveyor.yml | 5 +---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5adafb1c5b3..7e1a36cfec7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,14 +8,15 @@ cache: yarn: true install: - - npm install + - yarn + - yarn global add phantomjs-prebuilt - ./node_modules/.bin/bower install script: - ./bin/lint-features - - npm run-script test - - npm run-script test:optional-features - - npm run-script test:production - - npm run-script node-tests + - yarn run test + - yarn run test:optional-features + - yarn run test:production + - yarn run node-tests after_success: - yarn run production - "./bin/publish-builds" diff --git a/appveyor.yml b/appveyor.yml index 272a4d317c1..913d6ace70b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -18,15 +18,12 @@ install: - set path=%path%;C:\ProgramData\chocolatey\lib\PhantomJS\tools\ # Typical npm stuff. - md C:\nc - - appveyor-retry npm install -g npm@^3 - - appveyor-retry yarn + - appveyor-retry yarn install # Workaround https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows - - yarn version - yarn run bower # Post-install test scripts. test_script: # Output useful info for debugging. - - npm version - cmd: yarn run test - cmd: yarn run test:optional-features - cmd: yarn run test:production