Skip to content

Commit

Permalink
update Travis config to reflect that PyYAML 5.x is no longer compatib…
Browse files Browse the repository at this point in the history
…le with Python 2.6
  • Loading branch information
boegel committed Mar 14, 2019
1 parent 0683668 commit 1f37205
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ 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
# 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
# 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 1f37205

Please sign in to comment.