forked from rasbt/mlxtend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (41 loc) · 1.36 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
language: generic
cache:
apt: true
directories:
- $HOME/.cache/pip
- $HOME/.ccache
dist: trusty
env:
global:
# Directory where tests are run from
- TEST_DIR=/tmp/sklearn
- OMP_NUM_THREADS=4
- OPENBLAS_NUM_THREADS=4
matrix:
include:
- os: linux
sudo: required
python: 3.8
env: LATEST="false" IMAGE="false" COVERAGE="false" NUMPY_VERSION="1.18.5" SCIPY_VERSION="1.5.0" SKLEARN_VERSION="0.23.1" JOBLIB_VERSION=0.15.1 PANDAS_VERSION="1.0.5" IMAGEIO_VERSION="2.8.0" SKIMAGE_VERSION="0.17.2" DLIB_VERSION="19.20.0" MINICONDA_PYTHON_VERSION=3.7
- os: linux
python: 3.8
env: LATEST="true" IMAGE="false" COVERAGE="true" NOTEBOOKS="true" MINICONDA_PYTHON_VERSION=3.7
- os: linux
sudo: required
python: 3.8
env: LATEST="true" IMAGE="false" COVERAGE="false" NOTEBOOKS="false" MINICONDA_PYTHON_VERSION=3.7
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
install:
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then sudo apt-get update; fi
- source ci/.travis_install.sh
script:
- bash ci/.travis_test.sh
after_success:
- if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; fi
notifications:
email:
recipients:
on_success: always
on_failure: always