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
1
2
language : node_js
3
+ cache :
4
+ directories :
5
+ - node_modules
6
+ notifications :
7
+ email : false
2
8
node_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 1
1
{
2
2
"name" : " core-coderoad" ,
3
- "version" : " 1.0.0" ,
4
3
"description" : " Interactive tutorial platform" ,
5
4
"keywords" : [
6
5
" coderoad" ,
22
21
" *.md"
23
22
],
24
23
"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
+ },
26
28
"scripts" : {
27
29
"compile" : " tsc" ,
28
30
"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"
30
33
},
31
34
"dependencies" : {
32
35
"atom-plugin-command-line" : " 1.0.2" ,
58
61
"spectron" : " ^3.4.0" ,
59
62
"tslint" : " ^3.15.1" ,
60
63
"tslint-react" : " ^1.1.0" ,
61
- "typescript" : " ^2.0.3"
64
+ "typescript" : " ^2.0.3" ,
65
+ "semantic-release" : " ^4.3.5"
62
66
},
63
67
"jest" : {
64
68
"verbose" : true ,
You can’t perform that action at this time.
0 commit comments