mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-22 23:15:56 +08:00
ci: follow travis suggested yarn usage (#4573)
This commit is contained in:
parent
80017123d3
commit
c75eda74c5
@ -48,14 +48,9 @@ before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CHROME_BIN=chromium-browser; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo "--no-sandbox" > ~/.config/chromium-flags.conf; fi
|
||||
- npm install -g npm
|
||||
- npm install -g yarn
|
||||
- yarn config set spin false
|
||||
- yarn config set progress false
|
||||
|
||||
install:
|
||||
- yarn install --no-optional
|
||||
|
||||
script:
|
||||
- if [[ "$SCRIPT" ]]; then npm run-script $SCRIPT; fi
|
||||
- if [[ "$NODE_SCRIPT" ]]; then node $NODE_SCRIPT; fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user