From c00567d3025016550d55a7abaf94cbb82a5c44fb Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 20 Feb 2015 15:06:30 -0500 Subject: [PATCH] BF: do not checkout master -- that ruins testing of PRs. "reset" master to original HEAD --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 069527ebf..b53228ca1 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"