Skip to content

Commit

Permalink
CI test master scikit-learn
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Aug 11, 2017
1 parent 333d81b commit 33660d4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ env:
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="0.18.2"
- DISTRIB="conda" PYTHON_VERSION="3.6"
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="0.18.2"
- DISTRIB="conda" PYTHON_VERSION="3.6"
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="master"

install: source build_tools/travis/install.sh
script: bash build_tools/travis/test_script.sh
Expand Down
11 changes: 9 additions & 2 deletions build_tools/travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,15 @@ if [[ "$DISTRIB" == "conda" ]]; then
# provided versions
conda create -n testenv --yes python=$PYTHON_VERSION pip
source activate testenv
conda install --yes numpy=$NUMPY_VERSION scipy=$SCIPY_VERSION \
scikit-learn=$SKLEARN_VERSION
conda install --yes numpy=$NUMPY_VERSION scipy=$SCIPY_VERSION

if [[ "$SKLEARN_VERSION" == "master" ]]; then
conda install --yes cython
pip install -U git+https://github.com/scikit-learn/scikit-learn.git
else
conda install --yes scikit-learn=$SKLEARN_VERSION
fi

conda install --yes nose pytest pytest-cov
# Install nose-timer via pip
pip install nose-timer codecov
Expand Down

0 comments on commit 33660d4

Please sign in to comment.