File tree Expand file tree Collapse file tree 2 files changed +30
-17
lines changed
Expand file tree Collapse file tree 2 files changed +30
-17
lines changed Original file line number Diff line number Diff line change 1+ sudo : false
12language : node_js
3+ cache :
4+ directories :
5+ - node_modules
6+ notifications :
7+ email : false
28node_js :
3- - " 4.2 "
4- - " 4.1 "
5- - " 4.0 "
6- - " 0.12 "
7- - " 0.10 "
8-
9+ - ' 6 '
10+ - ' 4 '
11+ - ' 0.12 '
12+ - ' 0.10 '
13+ before_install :
14+ - npm i -g npm@^2.0.0
915before_script :
10- - " npm i -g jsinspect"
11- - " npm i -g eslint"
12- - " npm i -g babel-eslint"
13- - " npm i -g istanbul"
14-
15- script :
16- - " npm test"
16+ - npm prune
17+ - ' npm i -g jsinspect'
18+ - ' npm i -g eslint'
19+ - ' npm i -g babel-eslint'
20+ - ' npm i -g istanbul'
21+ after_success :
22+ - ' curl -Lo travis_after_all.py https://git.io/travis_after_all'
23+ - python travis_after_all.py
24+ - export $(cat .to_export_back) &> /dev/null
25+ - npm run semantic-release
26+ branches :
27+ except :
28+ - /^v\d+\.\d+\.\d+$/
Original file line number Diff line number Diff line change 11{
22 "name" : " loopback-component-jsonapi" ,
3- "version" : " 0.19.2" ,
43 "description" : " JSONAPI support for loopback" ,
54 "main" : " lib/index.js" ,
65 "scripts" : {
1110 "lint" : " eslint ." ,
1211 "version:major" : " xyz -i major" ,
1312 "version:minor" : " xyz -i minor" ,
14- "version:patch" : " xyz -i patch"
13+ "version:patch" : " xyz -i patch" ,
14+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
1515 },
1616 "repository" : {
1717 "type" : " git" ,
18- "url" : " git+ https://github.com/digitalsadhu/loopback-component-jsonapi.git"
18+ "url" : " https://github.com/digitalsadhu/loopback-component-jsonapi.git"
1919 },
2020 "keywords" : [
2121 " loopback" ,
5050 "mocha" : " ^2.3.3" ,
5151 "rsvp" : " 3.2.1" ,
5252 "supertest" : " ^1.1.0" ,
53- "xyz" : " ^0.5.0"
53+ "xyz" : " ^0.5.0" ,
54+ "semantic-release" : " ^4.3.5"
5455 }
5556}
You can’t perform that action at this time.
0 commit comments