Skip to content

Commit

Permalink
travis: restrict pytest version to the last one supporting Python 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Nov 30, 2017
1 parent 5d16088 commit 8aee8fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ install:
- if [ "$TYPE" == "osx" ] && [ "$PYVER" == "2" ]; then python2 -m pip install virtualenv; fi
- if [ "$TYPE" == "osx" ] && [ "$PYVER" == "2" ]; then virtualenv venv -p python2; fi
- if [ "$TYPE" == "osx" ]; then source venv/bin/activate; fi
- if [ "$TYPE" == "osx" ] || [ "$TYPE" == "linux" ]; then python -m pip install pytest hypothesis flake8 coverage codecov; fi
- if [ "$TYPE" == "osx" ] || [ "$TYPE" == "linux" ]; then python -m pip install "pytest<3.3.0" hypothesis flake8 coverage codecov; fi

script:
- if [ "$TYPE" == "linux" ]; then export LANG=C; export LC_ALL=C; fi
Expand Down
2 changes: 1 addition & 1 deletion run_wine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ PIPEXE="$DESTDIR/Scripts/pip.exe"
wget "https://bootstrap.pypa.io/get-pip.py"
wine "$PYTHONEXE" get-pip.py
rm get-pip.py
wine "$PIPEXE" install pytest coverage hypothesis
wine "$PIPEXE" install "pytest<3.3.0" coverage hypothesis

if [ "$2" == "cmd" ]; then
wineconsole --backend=curses
Expand Down

0 comments on commit 8aee8fd

Please sign in to comment.