Skip to content

Commit 8fdbe68

Browse files
committed
CI fix 3.7 call
1 parent 20f95bc commit 8fdbe68

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎ci/before_install.sh‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
# if python version is not PyPY, then install miniconda
44
if [[ $TRAVIS_PYTHON_VERSION != 'pypy'* ]]
55
then
6+
export PYTHON_VERSION=$TRAVIS_PYTHON_VERSION
7+
if [[ $TRAVIS_PYTHON_VERSION == "3.7-dev" ]]
8+
then
9+
export PYTHON_VERSION="3.7"
10+
fi
11+
612
# Escape standard Travis virtualenv
713
deactivate
814
# See: http://conda.pydata.org/docs/travis.html
@@ -13,5 +19,5 @@ then
1319
conda config --set always_yes yes --set changeps1 no
1420
conda update -q conda
1521
conda info -a
16-
conda create -q -n testenv python=$TRAVIS_PYTHON_VERSION numpy scipy pip
17-
fi
22+
conda create -q -n testenv python=$PYTHON_VERSION numpy scipy pip
23+
fi

0 commit comments

Comments
 (0)