File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ matrix:
77
88install :
99 - ps : Install-Product node $env:nodejs_version
10- - yarn --frozen-lockfile
10+ - npm install -g npm@~5.3.0
11+ - npm install
1112
1213test_script :
1314 - node --version
14- - yarn --version
15+ - npm --version
1516 - node tests\run_e2e.js --appveyor
1617
1718build : off
1819
1920cache :
2021 - node_modules
21- - " %LOCALAPPDATA%/Yarn"
Original file line number Diff line number Diff line change 88 - checkout
99 - restore_cache :
1010 key : angular-cli-{{ .Branch }}-{{ checksum "yarn.lock" }}
11- - run : yarn --frozen-lockfile
11+ - run : |
12+ npm install -g npm@~5.3.0
13+ npm install
1214 - save_cache :
1315 key : angular-cli-{{ .Branch }}-{{ checksum "yarn.lock" }}
1416 paths :
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ sudo: false
44language : node_js
55
66cache :
7- yarn : true
87 directories :
98 - ./node_modules
109
@@ -93,14 +92,11 @@ before_install:
9392 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi
9493 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
9594 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CHROME_BIN=chromium-browser; fi
96- # Install yarn.
97- - curl -o- -L https://yarnpkg.com/install.sh | bash
98- - export PATH="$HOME/.yarn/bin:$PATH"
99- - yarn config set spin false
100- - yarn config set progress false
95+ # Install npm 5.
96+ - npm install -g npm@~5.3.0
10197
10298install :
103- - yarn --frozen-lockfile
99+ - npm install
104100
105101env :
106102 global :
You can’t perform that action at this time.
0 commit comments