Skip to content

Commit d82abbd

Browse files
committed
chore(build): Run coverage report sending and call sematic-release only on Travis leader
1 parent e8cd41e commit d82abbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ after_success:
2424
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
2525
- python travis_after_all.py
2626
- export $(cat .to_export_back) &> /dev/null
27-
- bash <(curl -s https://codecov.io/bash)
28-
- npm run semantic-release
27+
- if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then bash <(curl -s https://codecov.io/bash); fi
28+
- if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then npm run semantic-release; fi
2929
branches:
3030
only:
3131
- master

0 commit comments

Comments
 (0)