File tree Expand file tree Collapse file tree 6 files changed +2234
-14
lines changed Expand file tree Collapse file tree 6 files changed +2234
-14
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 : JOB_PART=test
13+ - os : linux
14+ node_js : ' 4.3'
15+ env : JOB_PART=test
16+ - os : linux
17+ node_js : ' 7'
18+ env : 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 [email protected] :$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)
35+
36+ # TODO: This test suite will throw schema errors with webpack 2.2.x installed. Address this on defaults upgrade to Jest
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ var trailingSlash = /[\\\/]$/;
1515
1616module . exports = function ( source ) {
1717 var loaderContext = this ;
18- var query = loaderUtils . parseQuery ( this . query ) ;
18+ var query = loaderUtils . getOptions ( this ) || { } ;
1919 var cb = this . async ( ) ;
2020 var isSync = typeof cb !== "function" ;
2121 var finalCb = cb || this . callback ;
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" : {
3132 }
3233 ],
3334 "dependencies" : {
34- "loader-utils" : " ^0.2.5 "
35+ "loader-utils" : " ^1. 0.2"
3536 }
3637}
You can’t perform that action at this time.
0 commit comments