3 Commits
v0.3 ... test

Author SHA1 Message Date
Felipe Contreras
e71a8963af test: fix hg version check
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2014-06-02 18:38:59 -05:00
Felipe Contreras
f20dbc33c3 Add extra verbosity
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2014-06-02 18:29:14 -05:00
Felipe Contreras
e4aeae6d4b test: skip tests with broken hg-git compatibility
https://bitbucket.org/durin42/hg-git/issue/115/

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2014-06-02 18:16:49 -05:00
2 changed files with 12 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ before_script:
- pip show hg-git dulwich
script:
- export TEST_OPTS='-v'
- make test
matrix:

View File

@@ -34,6 +34,17 @@ else
test_done
fi
hg_version=$(python2 -c 'from mercurial import util; print util.version()')
echo "hg_version: $hg_version"
case $hg_version in
3.0*+*)
skip_all='skipping remote-hg tests; unsuported version of hg by hg-git'
test_done
;;
esac
# clone to a git repo with git
git_clone_git () {
git clone -q "hg::$1" $2 &&