Skip to content

Commit

Permalink
Only trigger on push
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansanford committed Sep 30, 2016
1 parent 2944af9 commit 8cbe406
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ script:
after_success:
- coveralls
# docker/build-trigger.sh contains the rules for when to, and not to trigger
- ./docker/build-trigger.sh Tag "${TRAVIS_TAG}" "${BUILD_TRIGGER_URL}"
- ./docker/build-trigger.sh Branch "${TRAVIS_BRANCH}" "${BUILD_TRIGGER_URL}"
- if [ "$TRAVIS_EVENT_TYPE" == "push" ]; then
./docker/build-trigger.sh Tag "${TRAVIS_TAG}" "${BUILD_TRIGGER_URL}"
./docker/build-trigger.sh Branch "${TRAVIS_BRANCH}" "${BUILD_TRIGGER_URL}"
fi

0 comments on commit 8cbe406

Please sign in to comment.