Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ before_install:
- if [ "x$TRAVIS_PYTHON_VERSION" == 'x2.6' ]; then pip install pydot==1.1.0; else pip install pydot; fi
# pycparser 2.19 (dep for paramiko) doesn't work with Python 2.6
- if [ "x$TRAVIS_PYTHON_VERSION" == 'x2.6' ]; then pip install 'pycparser<2.19'; fi
# idna 2.8 (dep for paramiko) & more recent doesn't work with Python 2.6
- if [ "x$TRAVIS_PYTHON_VERSION" == 'x2.6' ]; then pip install 'idna<2.8'; fi
# paramiko 2.4.0 (dep for GC3Pie) & more recent doesn't work with Python 2.6
- if [ "x$TRAVIS_PYTHON_VERSION" == 'x2.6' ]; then pip install 'paramiko<2.4.0'; fi
# SQLAlchemy 1.2.0 (dep for GC3Pie) & more recent doesn't work with Python 2.6
Expand Down
6 changes: 5 additions & 1 deletion test/framework/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ def test_svnrepo(self):
self.assertTrue(os.path.exists(os.path.join(repo.wc, 'trunk', 'README.md')))
shutil.rmtree(repo.wc)

def test_hgrepo(self):
# this test is disabled because it fails in Travis as a result of bitbucket disabling TLS 1.0/1.1
# we can consider re-enabling it when moving to a more recent Ubuntu version in the Travis config
# (which implies dropping support for Python 2.6)
# cfr. https://github.com/easybuilders/easybuild-framework/pull/2678
def DISABLED_test_hgrepo(self):
"""Test using HgRepository."""
# only run this test if pysvn Python module is available
try:
Expand Down