Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit e999866

Browse files
authored
fix(release): fix semantic release configuration with Travis CI (#44)
1 parent d59831f commit e999866

2 files changed

Lines changed: 5 additions & 13 deletions

File tree

.travis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
language: node_js
22
node_js:
3-
- 8.11.2
4-
- '9'
3+
- lts/*
4+
- node
55
services:
66
- docker
77
before_install:
88
- 'git config --global url."git@github.com:".insteadOf "https://github.com/"'
99
- npm install -g lsc nsp
1010
- docker build -t services-cache ./run
1111
- 'docker run -d -p 6379:6379 services-cache'
12-
install:
13-
- npm install
1412
script:
1513
- nsp check
1614
- npm run coverage
@@ -20,8 +18,8 @@ cache:
2018
- ~/.npm
2119
notifications:
2220
email: false
23-
after_success:
24-
- npm run travis-deploy-once "npm run semantic-release"
2521
branches:
2622
except:
2723
- /^v\d+\.\d+\.\d+$/
24+
after_success:
25+
- npm run semantic-release

package.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,15 @@
3030
"husky": "^0.14.3",
3131
"coveralls": "^3.0.1",
3232
"@labshare/semantic-release-config": "^1.0.0",
33-
"travis-deploy-once": "^5.0.0",
3433
"semantic-release": "^15.5.0"
3534
},
3635
"scripts": {
3736
"test": "jasmine JASMINE_CONFIG_PATH=./test/lib/jasmine.json",
3837
"coverage": "istanbul cover jasmine JASMINE_CONFIG_PATH=./test/lib/jasmine.json",
3938
"commitmsg": "commitlint -e $GIT_PARAMS",
40-
"travis-deploy-once": "travis-deploy-once --pro",
4139
"semantic-release": "semantic-release"
4240
},
43-
"publishConfig": {
44-
"access": "restricted"
45-
},
4641
"release": {
4742
"extends": "@labshare/semantic-release-config"
48-
},
49-
"peerDependencies": {}
43+
}
5044
}

0 commit comments

Comments
 (0)