File tree Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Original file line number Diff line number Diff line change
1
+ sudo : false
1
2
language : node_js
2
3
node_js :
3
- - 4
4
- script :
5
- - npm test
6
- sudo : false
4
+ - ' 4'
5
+ - ' 6'
6
+ cache :
7
+ directories :
8
+ - node_modules
7
9
notifications :
8
10
email : false
11
+ before_script :
12
+ - npm prune
13
+ after_success :
14
+ - ' curl -Lo travis_after_all.py https://git.io/travis_after_all'
15
+ - python travis_after_all.py
16
+ - export $(cat .to_export_back) &> /dev/null
17
+ - npm run semantic-release
18
+ branches :
19
+ except :
20
+ - /^v\d+\.\d+\.\d+$/
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " eslint-plugin-springworks" ,
3
- "version" : " 2.0.0" ,
4
3
"description" : " Collection of ESLint rules" ,
5
4
"main" : " lib/index.js" ,
6
5
"scripts" : {
7
- "test" : " mocha --recursive --reporter dot tests"
6
+ "test" : " mocha --recursive --reporter dot tests" ,
7
+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
8
8
},
9
9
"dependencies" : {
10
10
"requireindex" : " ~1.1.0"
11
11
},
12
12
"devDependencies" : {
13
13
"eslint" : " ^2.4.0" ,
14
- "mocha" : " ^2.4.5"
14
+ "mocha" : " ^2.4.5" ,
15
+ "semantic-release" : " ^4.3.5"
15
16
},
16
17
"engines" : {
17
18
"node" : " >=4"
25
26
"author" : " Springworks" ,
26
27
"repository" : {
27
28
"type" : " git" ,
28
- "url" : " git+ https://github.com/Springworks/eslint-plugin-springworks.git"
29
+ "url" : " https://github.com/Springworks/eslint-plugin-springworks.git"
29
30
},
30
31
"bugs" : {
31
32
"url" : " https://github.com/Springworks/eslint-plugin-springworks/issues"
You can’t perform that action at this time.
0 commit comments