diff --git a/.travis.yml b/.travis.yml index 6955a94635579682f8dcb68fb12bd5260a750a5b..4773d35374a7c6d30ad94b487ad5ad7e69807a26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,6 @@ before_script: - ./cc-test-reporter before-build script: - bundle exec rspec - - if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then (yarn semantic-release && yarn semantic-dependents-updates-github) || true fi - - if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then BRANCH=$TRAVIS_BRANCH yarn simple-semantic-release-pre fi + - if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then (yarn semantic-release && yarn semantic-dependents-updates-github) || true; fi + - if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then BRANCH=$TRAVIS_BRANCH yarn simple-semantic-release-pre; fi - if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi