From 67d0fb9541172cf02a8bcb92af881f4379f166b3 Mon Sep 17 00:00:00 2001 From: shierro Date: Thu, 31 Jan 2019 09:27:32 +0800 Subject: [PATCH] :rocket: :green_heart: add yarn path to use & override built-in yarn --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1bea6b8..b826593 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,8 @@ addons: chrome: stable before_script: - npm install -g codecov nyc - - curl -o- -L https://yarnpkg.com/install.sh | bash + - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.2 + - export PATH="$HOME/.yarn/bin:$PATH" - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - ./cc-test-reporter before-build --debug