Skip to content

Commit

Permalink
Merge pull request #802 from kbase/develop
Browse files Browse the repository at this point in the history
develop->master (1.7.1)
  • Loading branch information
eapearson authored Oct 4, 2018
2 parents c005f2f + 27288ea commit e187a2c
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,10 @@ env:
# Note: this only works for gnu sed, not, e.g., bsd sed as distributed with macos
- REAL_BRANCH=$(git ls-remote origin | sed -n "\|^$TRAVIS_COMMIT\s\+refs/heads/|{s///p}")

if: (branch = develop) OR ((branch = master) AND (tag =~ /^v.+$/))

# branches:
# only:
# # builds for any PR merged into the develop branch
# - develop
# # builds when a release is tagged using a "v" prefixed semver tag.
# # This is rough, but all we are after for is a trigger, not semver
# # validation!
# # master is tagged as a release after develop->master is merged
# - /^v.*$/

# Note that when a travis build is triggered by a tag, the branch is undefined
# The previous travis config specified that the branch had to be master as well as tagged,
# but a change at Travis broke this unexpectedly.
if: branch = develop OR tag =~ /^v.+$/

install:
# Note that this will build the image appropriately, depending upon
Expand Down

0 comments on commit e187a2c

Please sign in to comment.