From 3c673ff2d267b927d2f70765da4dc3543323cc7a Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 24 Apr 2016 09:20:39 +0200 Subject: 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. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3