File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ install:
1313 - pip install coveralls
1414
1515 # for now we have to make sure there is a master branch - at some point we should just have it by default
16- - git branch master 0.3
16+ - git branch master
1717
18- # generate some reflog as git-python tests need it
18+ # generate some reflog as git-python tests need it (in 0.3)
1919 - git reset --hard HEAD~1
2020 - git reset --hard HEAD~1
2121 - git reset --hard HEAD~1
@@ -30,10 +30,6 @@ install:
3030 # as commits are performed with the default user, it needs to be set for travis too
3131 - git config --global user.email "travis@ci.com"
3232 - git config --global user.name "Travis Runner"
33-
34- # debugging
35- - find .git/logs
36- - cat .git/logs/HEAD
3733script :
3834 - nosetests -v --with-coverage
3935after_success :
Original file line number Diff line number Diff line change @@ -581,15 +581,17 @@ def test_rev_parse(self):
581581 assert rev_parse (refspec + ":CHANGES" ).type == 'blob'
582582 # END operate on non-detached head
583583
584- # the last position
585- assert rev_parse ('@{1}' ) != head .commit
586-
587584 # position doesn't exist
588585 self .failUnlessRaises (IndexError , rev_parse , '@{10000}' )
589586
590587 # currently, nothing more is supported
591588 self .failUnlessRaises (NotImplementedError , rev_parse , "@{1 week ago}" )
592589
590+ # the last position
591+ # For some reason, this test fails on travis - lets gather more information
592+ print self .rorepo
593+ assert rev_parse ('@{1}' ) != head .commit
594+
593595 def test_repo_odbtype (self ):
594596 target_type = GitDB
595597 if sys .version_info [1 ] < 5 :
You can’t perform that action at this time.
0 commit comments