File tree Expand file tree Collapse file tree 5 files changed +2222
-12
lines changed Expand file tree Collapse file tree 5 files changed +2222
-12
lines changed Original file line number Diff line number Diff line change 1+ yarn.lock - diff
Original file line number Diff line number Diff line change 11/node_modules
2- test /output /*
2+ test /node_modules /*
3+ test /output /*
Original file line number Diff line number Diff line change 1+ # Tasks are commented out purposfully. Will be uncommented for webpack-defaults application
12sudo : false
23language : node_js
3- node_js :
4- - " 0.10"
5- - " 0.11"
6- - " 0.12"
7- - " 4"
4+ branches :
5+ only :
6+ - master
7+ matrix :
8+ fast_finish : true
9+ include :
10+ - os : linux
11+ node_js : ' 6'
12+ env : WEBPACK_VERSION="2.2.0" JOB_PART=test
13+ - os : linux
14+ node_js : ' 4.3'
15+ env : WEBPACK_VERSION="2.2.0" JOB_PART=test
16+ - os : linux
17+ node_js : ' 7'
18+ env : WEBPACK_VERSION="2.2.0" JOB_PART=test
19+ # - os: linux
20+ # node_js: '7'
21+ # env: WEBPACK_VERSION="2.2.0" BITHOUND_CHECK=true JOB_PART=lint
22+ # - os: linux
23+ # node_js: '7'
24+ # env: WEBPACK_VERSION="2.2.0" JOB_PART=coverage
25+ before_install :
26+ - nvm --version
27+ - node --version
28+ before_script :
29+ - if [ "$WEBPACK_VERSION" ]; then yarn add webpack@^$WEBPACK_VERSION; fi
30+ # - if [ "$BITHOUND_CHECK" ]; then npm install -g bithound; bithound check git@github.com:$TRAVIS_REPO_SLUG.git; fi
831script :
9- - " npm test"
10- # test with npm@3
11- - " rm -rf node_modules && npm install npm@3"
12- - " node_modules/.bin/npm install"
13- - " node_modules/.bin/npm test"
32+ - yarn run travis:$JOB_PART
33+ # after_success:
34+ # - bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 44 "author" : " Tobias Koppers @sokra" ,
55 "description" : " less loader module for webpack" ,
66 "scripts" : {
7- "test" : " node --no-deprecation node_modules/.bin/_mocha -R spec" ,
7+ "test" : " npm run travis:test" ,
8+ "travis:test" : " node --no-deprecation node_modules/.bin/_mocha -R spec" ,
89 "test-source-map" : " webpack --config test/sourceMap/webpack.config.js && open ./test/sourceMap/index.html"
910 },
1011 "peerDependencies" : {
You can’t perform that action at this time.
0 commit comments