Skip to content

Commit

Permalink
Allow running for tests for dev and nightly versions of Python
Browse files Browse the repository at this point in the history
  • Loading branch information
MinchinWeb committed Oct 29, 2016
1 parent 9420af4 commit 892c8da
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test_versions
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,20 @@ if [ "${PYTHON_VERSIONS}" == "" ] ; then
PYTHON_VERSIONS="default"
fi

if [[ "${PYTHON_VERSIONS}" == *-dev ]] ; then
PYTHON_VERSIONS="${PYTHON_VERSIONS::-4}"
fi

echo "Identified python versions: `echo ${PYTHON_VERSIONS} | tr '\n' ' '`"

# Make sure each of the pythons has the necessary requirements installed
for PYTHON_VERSION in ${PYTHON_VERSIONS} ; do
if [ "${PYTHON_VERSION}" == "default" ] ; then
PYTHON_VERSION=""
fi
if [ "${PYTHON_VERSION}" == "nightly" ] ; then
PYTHON_VERSION=""
fi
if [ "${PYTHON_VERSION}" == "pypy" ] ; then
PYTHON=pypy
shift
Expand Down

0 comments on commit 892c8da

Please sign in to comment.