Improve yarn install for travis

* yarn install instead
* disable postinstall script
This commit is contained in:
chunming
2017-10-11 09:53:01 -05:00
committed by Allen
parent 105bd36a5e
commit 30d2645e4a

View File

@@ -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