Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Commit 18e3ea2

Browse files
authored
ci: change how builds are triggered
1 parent 947dd0b commit 18e3ea2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.travis.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,12 @@ cache:
1111
- coverage
1212
notifications:
1313
email: false
14-
branches:
15-
only:
16-
- master
1714
install: npm install
1815
script: npm run test:coverage
1916
jobs:
2017
include:
2118
- stage: release
19+
if: branch = master AND type != pull_request
2220
node_js: '10'
2321
install: npm install -g codecov
24-
script:
25-
- codecov
26-
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && npm run semantic-release'
22+
script: codecov && npm run semantic-release

0 commit comments

Comments
 (0)