diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2016-04-24 09:20:39 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2016-04-24 09:20:39 +0200 |
commit | 3c673ff2d267b927d2f70765da4dc3543323cc7a (patch) | |
tree | 795a1db5a74a1c67c5878a3a08c0e6bb398d03bc | |
parent | 819c4ed8b443baee06472680f8d36022cb9c3240 (diff) | |
download | gitpython-3c673ff2d267b927d2f70765da4dc3543323cc7a.tar.gz |
Travis should now be able to test tags
It's just a guess, maybe we are lucky.
The original problem is that travis checks out tags without branches,
and thus checking out master does only work if travis runs on master.
With tags, it will only heckout and locally know the tag in question.
The changes should allow it to retry and create the master branch
instead.
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 131bcef7..5c01b3fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ install: # generate some reflog as git-python tests need it (in master) - git tag __testing_point__ - - git checkout master + - git checkout master || git checkout -b master - git reset --hard HEAD~1 - git reset --hard HEAD~1 - git reset --hard HEAD~1 |