File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 9
9
- libatlas-dev
10
10
- python-scipy
11
11
env :
12
+ global :
13
+ - OMP_NUM_THREADS=4
14
+ - OPENBLAS_NUM_THREADS=4
12
15
matrix :
13
16
# This environment tests that scikit-learn can be built against
14
17
# versions of numpy, scipy with ATLAS that comes with Ubuntu Precise 12.04
18
21
NUMPY_VERSION="1.6.2" SCIPY_VERSION="0.11.0"
19
22
# This environment tests the newest supported anaconda env
20
23
- DISTRIB="conda" PYTHON_VERSION="3.5" INSTALL_MKL="true"
21
- NUMPY_VERSION="1.10.1 " SCIPY_VERSION="0.16.0 "
24
+ NUMPY_VERSION="1.10.2 " SCIPY_VERSION="0.16.1 "
22
25
install : source continuous_integration/install.sh
23
26
script : bash continuous_integration/test_script.sh
24
27
after_success :
Original file line number Diff line number Diff line change @@ -48,10 +48,12 @@ install:
48
48
# not already installed.
49
49
- " powershell ./continuous_integration/appveyor/install.ps1"
50
50
- " SET PATH=%PYTHON%;%PYTHON%\\ Scripts;%PATH%"
51
+ - " python -m pip install -U pip"
51
52
52
53
# Check that we have the expected version and architecture for Python
53
54
- " python --version"
54
55
- " python -c \" import struct; print(struct.calcsize('P') * 8)\" "
56
+ - " pip --version"
55
57
56
58
# Install the build and runtime dependencies of the project.
57
59
- " %CMD_IN_ENV% pip install --timeout=60 --trusted-host 28daf2247a33ed269873-7b1aad3fab3cc330e1fd9d109892382a.r6.cf2.rackcdn.com -r continuous_integration/appveyor/requirements.txt"
Original file line number Diff line number Diff line change @@ -29,17 +29,16 @@ if [[ "$DISTRIB" == "conda" ]]; then
29
29
30
30
# Configure the conda environment and put it in the path using the
31
31
# provided versions
32
- conda create -n testenv --yes python=$PYTHON_VERSION pip nose \
33
- numpy=$NUMPY_VERSION scipy=$SCIPY_VERSION
34
- source activate testenv
35
-
36
32
if [[ " $INSTALL_MKL " == " true" ]]; then
37
- # Make sure that MKL is used
38
- conda install --yes mkl
33
+ conda create -n testenv --yes python=$PYTHON_VERSION pip nose \
34
+ numpy=$NUMPY_VERSION scipy=$SCIPY_VERSION numpy scipy \
35
+ libgfortran mkl
39
36
else
40
- # Make sure that MKL is not used
41
- conda remove --yes --features mkl || echo " MKL not installed "
37
+ conda create -n testenv --yes python= $PYTHON_VERSION pip nose \
38
+ numpy= $NUMPY_VERSION scipy= $SCIPY_VERSION libgfortran
42
39
fi
40
+ source activate testenv
41
+
43
42
44
43
elif [[ " $DISTRIB " == " ubuntu" ]]; then
45
44
# At the time of writing numpy 1.9.1 is included in the travis
You can’t perform that action at this time.
0 commit comments