File tree Expand file tree Collapse file tree 2 files changed +29
-8
lines changed Expand file tree Collapse file tree 2 files changed +29
-8
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- - " 6.1"
4- - " 5.11"
5- script : npm test
6- before_script : npm install
9+ - ' 4'
10+ - ' 5.11'
11+ - ' 6.1'
12+ before_install :
13+ - npm i -g npm@latest
14+ before_script :
15+ - npm prune
16+ after_success :
17+ - ' curl -Lo travis_after_all.py https://git.io/travis_after_all'
18+ - python travis_after_all.py
19+ - export $(cat .to_export_back) &> /dev/null
20+ - npm run semantic-release
21+ branches :
22+ except :
23+ - /^v\d+\.\d+\.\d+$/
Original file line number Diff line number Diff line change 11{
22 "name" : " core-coderoad" ,
3- "version" : " 1.0.0" ,
43 "description" : " Interactive tutorial platform" ,
54 "keywords" : [
65 " coderoad" ,
2221 " *.md"
2322 ],
2423 "main" : " ./lib/index.js" ,
25- "repository" : " https://github.com/coderoad/core-coderoad" ,
24+ "repository" : {
25+ "type" : " git" ,
26+ "url" : " https://github.com/coderoad/core-coderoad.git"
27+ },
2628 "scripts" : {
2729 "compile" : " tsc" ,
2830 "test" : " jest" ,
29- "mocks" : " tsc -p ./src/__mocks__"
31+ "mocks" : " tsc -p ./src/__mocks__" ,
32+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
3033 },
3134 "dependencies" : {
3235 "atom-plugin-command-line" : " 1.0.2" ,
5861 "spectron" : " ^3.4.0" ,
5962 "tslint" : " ^3.15.1" ,
6063 "tslint-react" : " ^1.1.0" ,
61- "typescript" : " ^2.0.3"
64+ "typescript" : " ^2.0.3" ,
65+ "semantic-release" : " ^4.3.5"
6266 },
6367 "jest" : {
6468 "verbose" : true ,
You can’t perform that action at this time.
0 commit comments