summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-03 19:48:05 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-03 19:48:05 +0100
commit342a0276dbf11366ae91ce28dcceddc332c97eaf (patch)
treeb3a078975579c85e4e1306777931e9f3f44f5c2d /.travis.yml
parent863a40e0d35f3ff3c3e4b5dc9ff1272e1b1783b1 (diff)
downloadgitpython-342a0276dbf11366ae91ce28dcceddc332c97eaf.tar.gz
Fixed all remaining non-performance tests
* travis configuration adjusted to hopefully work better than before Performance traversal still fails when using git-python as standard repository. It naturally wants a larger one. On travis these tests are skipped though.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index dfeaad54..92842941 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,6 +11,18 @@ install:
- git submodule update --init --recursive
- git fetch --tags
- pip install coveralls
+ # for now we have to make sure there is a master branch - at some point we should just have it by default
+ - git branch master 0.3
+ # generate some reflog as git-python tests need it
+ - git reset --hard HEAD~1
+ - git reset --hard HEAD~1
+ - git reset --hard HEAD~1
+ - git reset --hard origin/0.3
+ - git checkout master
+ - git reset --hard HEAD~1
+ - git reset --hard HEAD~1
+ - git reset --hard origin/0.3
+ - git checkout 0.3
script:
- nosetests -v --with-coverage
after_success: