diff options
author | Yaroslav Halchenko <debian@onerussian.com> | 2015-02-20 15:06:30 -0500 |
---|---|---|
committer | Yaroslav Halchenko <debian@onerussian.com> | 2015-02-20 16:43:47 -0500 |
commit | c00567d3025016550d55a7abaf94cbb82a5c44fb (patch) | |
tree | d14fd065ee0a5b052bb001c7205f238afb1f6eff | |
parent | e2feb62c17acd1dddb6cd125d8b90933c32f89e1 (diff) | |
download | gitpython-c00567d3025016550d55a7abaf94cbb82a5c44fb.tar.gz |
BF: do not checkout master -- that ruins testing of PRs. "reset" master to original HEAD
-rw-r--r-- | .travis.yml | 3 |
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" |