Skip to content

Commit

Permalink
MNT update travis to PY3.6 & sklearn 0.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rth committed May 18, 2017
1 parent ddb100c commit e4fa42a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
sudo: false
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.6"
install:
# We do this conditionally because it saves us some downloading if the
# version is the same.
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
Expand All @@ -20,10 +21,10 @@ install:
- conda info -a

# Replace dep1 dep2 ... with your dependencies
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.4" ]]; then
export PYSOFIA_DEPS="six numpy scipy nose cython scikit-learn=0.15";
else
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
export PYSOFIA_DEPS="six numpy scipy nose cython scikit-learn=0.15 enum34";
else
export PYSOFIA_DEPS="six numpy scipy nose cython scikit-learn=0.18.1";
fi
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION $PYSOFIA_DEPS
- source activate test-environment
Expand Down

0 comments on commit e4fa42a

Please sign in to comment.