Browse Source

Fix inability to use branches and tags interchangably.

Changelog: None

Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
1.2.x
Kristian Amlie 8 years ago
committed by Kristian Amlie
parent
commit
c88c79b07a
No known key found for this signature in database GPG Key ID: F464407C996AF03F
  1. 10
      .travis.yml

10
.travis.yml

@ -9,6 +9,16 @@ dist: trusty
before_script: before_script:
- git clone git://github.com/mendersoftware/mendertesting - git clone git://github.com/mendersoftware/mendertesting
# Rename the branch we're on, so that it's not in the way for the
# subsequent fetch. It's ok if this fails, it just means we're not on any
# branch.
- git branch -m temp-branch || true
# Git trick: Fetch directly into our local branches instead of remote
# branches.
- git fetch origin 'refs/heads/*:refs/heads/*'
# Get last remaining tags, if any.
- git fetch --tags origin
script: script:
# Check commit compliance. # Check commit compliance.
- mendertesting/check_commits.sh - mendertesting/check_commits.sh

Loading…
Cancel
Save