forked from scikit-learn-contrib/imbalanced-learn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (52 loc) · 1.83 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
52
53
54
55
56
57
# make it explicit that we favor the new container-based travis workers
dist: trusty
sudo: false
language: python
# Pre-install packages for the ubuntu distribution
cache:
apt: true
# We use three different cache directory
# to work around a Travis bug with multi-platform cache
directories:
- $HOME/.cache/pip
- $HOME/.cache/pip
- $HOME/download
addons:
apt:
packages:
- python-numpy
- python-scipy
env:
global:
# Directory where tests are run from
- TEST_DIR=/tmp/test_dir
- MODULE=imblearn
- OMP_NUM_THREADS=4
- OPENBLAS_NUM_THREADS=4
matrix:
include:
# This environment tests the using anaconda
# Ubuntu 14.04 environment
- env: DISTRIB="ubuntu"
# Latest release
- env: DISTRIB="conda" PYTHON_VERSION="2.7"
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="0.19.0"
- env: DISTRIB="conda" PYTHON_VERSION="3.5"
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="0.19.0"
- env: DISTRIB="conda" PYTHON_VERSION="3.6"
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="0.19.0"
- env: DISTRIB="conda" PYTHON_VERSION="3.6"
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" SKLEARN_VERSION="master"
allow_failures:
- env: 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
after_success: source build_tools/travis/after_success.sh
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/188e3c7a5180fd4f2120
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always