Skip to content

Commit

Permalink
ci: set build leader
Browse files Browse the repository at this point in the history
  • Loading branch information
sushantdhiman committed Sep 20, 2017
1 parent 457b558 commit fcac021
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ jobs:
branch: master
- stage: release
node_js: 8
env: TRAVIS_JOB_NUMBER=WORKAROUND.1
env: BUILD_LEADER_ID=8
script:
- npm install --no-save --no-package-lock semantic-release@8 @bubltechnology/customizable-commit-analyzer@1.0.2-0
- npm run lint
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then ./node_modules/.bin/semantic-release pre && npm publish && ./node_modules/.bin/semantic-release post; fi || true'
after_success:
- ./node_modules/.bin/semantic-release pre && npm publish && ./node_modules/.bin/semantic-release post

0 comments on commit fcac021

Please sign in to comment.