summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorYaroslav Halchenko <debian@onerussian.com>2015-02-20 15:06:30 -0500
committerYaroslav Halchenko <debian@onerussian.com>2015-02-20 16:43:47 -0500
commitc00567d3025016550d55a7abaf94cbb82a5c44fb (patch)
treed14fd065ee0a5b052bb001c7205f238afb1f6eff /.travis.yml
parente2feb62c17acd1dddb6cd125d8b90933c32f89e1 (diff)
downloadgitpython-c00567d3025016550d55a7abaf94cbb82a5c44fb.tar.gz
BF: do not checkout master -- that ruins testing of PRs. "reset" master to original HEAD
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 069527eb..b53228ca 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,11 +15,12 @@ install:
- pip install coveralls flake8 sphinx
# generate some reflog as git-python tests need it (in master)
+ - git tag __testing_point__
- git checkout master
- git reset --hard HEAD~1
- git reset --hard HEAD~1
- git reset --hard HEAD~1
- - git reset --hard origin/master
+ - git reset --hard __testing_point__
# as commits are performed with the default user, it needs to be set for travis too
- git config --global user.email "travis@ci.com"