From 30d2645e4ae5dee356c0e287d5936341dc714c36 Mon Sep 17 00:00:00 2001 From: chunming Date: Wed, 11 Oct 2017 09:53:01 -0500 Subject: [PATCH] Improve yarn install for travis * yarn install instead * disable postinstall script --- .travis.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 086f638..bcff7b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,7 @@ node_js: - "6" cache: - directories: - - node_modules + yarn: true branches: only: @@ -14,8 +13,8 @@ branches: # - master - develop -# before_install: -# - curl -o- -L https://yarnpkg.com/install.sh | bash -s -# - export PATH="$HOME/.yarn/bin:$PATH" +before_install: + - curl -o- -L https://yarnpkg.com/install.sh | bash -s + - export PATH="$HOME/.yarn/bin:$PATH" -# install: yarn --frozen-lockfile +install: yarn install --pure-lockfile --ignore-scripts