Skip to content

Commit

Permalink
CI fix 3.7 call
Browse files Browse the repository at this point in the history
  • Loading branch information
tomMoral committed Aug 16, 2018
1 parent 20f95bc commit d485714
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ci/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
# if python version is not PyPY, then install miniconda
if [[ $TRAVIS_PYTHON_VERSION != 'pypy'* ]]
then
$PYTHON_VERSION=$TRAVIS_PYTHON_VERSION
if [[ $TRAVIS_PYTHON_VERSION == "3.7-dev" ]]
then
$PYTHON_VERSION="3.7"
fi

# Escape standard Travis virtualenv
deactivate
# See: http://conda.pydata.org/docs/travis.html
Expand All @@ -13,5 +19,5 @@ then
conda config --set always_yes yes --set changeps1 no
conda update -q conda
conda info -a
conda create -q -n testenv python=$TRAVIS_PYTHON_VERSION numpy scipy pip
fi
conda create -q -n testenv python=$PYTHON_VERSION numpy scipy pip
fi

0 comments on commit d485714

Please sign in to comment.