Skip to content

Commit 7c6a6e2

Browse files
authored
Merge pull request #17 from webpack-contrib/ci/yarn
fix CI build
2 parents 4fd9d47 + 645e9dc commit 7c6a6e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
script: npm run travis:$JOB_PART
2525
after_success: 'bash <(curl -s https://codecov.io/bash)'
2626
- stage: Webpack canary
27-
before_script: npm i --no-save git://github.com/webpack/webpack.git#master
27+
before_script: yarn add git://github.com/webpack/webpack.git#master
2828
script: npm run travis:$JOB_PART
2929
node_js: 8
3030
env: WEBPACK_VERSION=canary JOB_PART=test
@@ -36,7 +36,7 @@ before_install:
3636
before_script:
3737
- |-
3838
if [ "$WEBPACK_VERSION" ]; then
39-
npm i --no-save webpack@$WEBPACK_VERSION
39+
yarn add webpack@$WEBPACK_VERSION
4040
fi
4141
script:
4242
- 'npm run travis:$JOB_PART'

0 commit comments

Comments
 (0)