-
-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: build and package updates to allow use of webpack 3 (#475)
- Loading branch information
1 parent
0d6d66d
commit 0511c25
Showing
4 changed files
with
98 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,49 @@ | ||
sudo: false | ||
dist: trusty | ||
language: node_js | ||
node_js: | ||
- "7" | ||
- "6" | ||
- "4" | ||
|
||
branches: | ||
only: | ||
- master | ||
- feature/webpack3 | ||
jobs: | ||
fast_finish: true | ||
allow_failures: | ||
- env: WEBPACK_VERSION=canary | ||
include: | ||
- &test-latest | ||
stage: Webpack latest | ||
nodejs: 6 | ||
env: WEBPACK_VERSION=latest JOB_PART=test | ||
script: npm run travis:$JOB_PART | ||
- <<: *test-latest | ||
nodejs: 4.3 | ||
env: WEBPACK_VERSION=latest JOB_PART=test | ||
script: npm run travis:$JOB_PART | ||
- <<: *test-latest | ||
node_js: 8 | ||
env: WEBPACK_VERSION=latest JOB_PART=lint | ||
script: npm run travis:$JOB_PART | ||
- <<: *test-latest | ||
node_js: 8 | ||
env: WEBPACK_VERSION=latest JOB_PART=coverage | ||
script: npm run travis:$JOB_PART | ||
after_success: 'bash <(curl -s https://codecov.io/bash)' | ||
- stage: Webpack canary | ||
before_script: npm i --no-save git://github.com/webpack/webpack.git#master | ||
script: npm run travis:$JOB_PART | ||
node_js: 8 | ||
env: WEBPACK_VERSION=canary JOB_PART=test | ||
before_install: | ||
- 'if [[ `npm -v` != 5* ]]; then npm i -g npm@^5.0.0; fi' | ||
- nvm --version | ||
- node --version | ||
- npm --version | ||
before_script: | ||
- |- | ||
if [ "$WEBPACK_VERSION" ]; then | ||
npm i --no-save webpack@$WEBPACK_VERSION | ||
fi | ||
script: | ||
- 'npm run travis:$JOB_PART' | ||
after_success: | ||
- npm install coveralls | ||
- npm run coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage | ||
- 'bash <(curl -s https://codecov.io/bash)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters