Commit bf74b4e5 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Install pytest before deps, to make sure version request gets heeded

parent f1699bdd
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -87,6 +87,9 @@ if test "$EXTRA_INSTALL" != ""; then
  done
fi

# Pinned to 3.0.4 because of https://github.com/pytest-dev/pytest/issues/2434
$PIP install pytest==3.0.4 pytest-warnings==0.2.0

if test "$REQUIREMENTS_TXT" == ""; then
  REQUIREMENTS_TXT="requirements.txt"
fi
@@ -95,9 +98,6 @@ if test -f $REQUIREMENTS_TXT; then
  $PIP install -r $REQUIREMENTS_TXT
fi

# Pinned to 3.0.4 because of https://github.com/pytest-dev/pytest/issues/2434
$PIP install pytest==3.0.4 pytest-warnings==0.2.0

${PY_EXE} setup.py install

TESTABLES=""