Skip to content

Commit

Permalink
Merge pull request #2807 from boegel/PyYAML_py26
Browse files Browse the repository at this point in the history
update Travis config to reflect that PyYAML 5.x is no longer compatible with Python 2.6
  • Loading branch information
migueldiascosta authored Mar 15, 2019
2 parents 0683668 + 36c61d4 commit 34d2416
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,12 @@ before_install:
- if [ "x$TRAVIS_PYTHON_VERSION" == 'x2.6' ]; then pip install 'python-daemon<2.0'; fi
# autopep8 1.3.4 is last one to support Python 2.6
- if [ "x$TRAVIS_PYTHON_VERSION" == 'x2.6' ]; then pip install 'autopep8<1.3.5'; else pip install autopep8; fi
# have to stick to PyYAML < 5.x for now, due to backwards incompatible changes
# also, PyYAML 5.x no longer supports Python 2.6
#- if [ "x$TRAVIS_PYTHON_VERSION" == 'x2.6' ]; then pip install 'PyYAML<5.0'; else pip install PyYAML; fi
- pip install 'PyYAML<5.0'
# optional Python packages for EasyBuild
- pip install GC3Pie pycodestyle python-graph-dot python-hglib PyYAML requests
- pip install GC3Pie pycodestyle python-graph-dot python-hglib requests
# git config is required to make actual git commits (cfr. tests for GitRepository)
- git config --global user.name "Travis CI"
- git config --global user.email "travis@travis-ci.org"
Expand Down

0 comments on commit 34d2416

Please sign in to comment.