forked from rdesai16/numba
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (52 loc) · 2.49 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
58
59
60
# References https://gist.github.com/dan-blanchard/7045057
# and https://docs.travis-ci.com/user/trusty-ci-environment/
dist: trusty
matrix:
include:
# Parametrize the conda env name so multiple builds can
# work with multiple environments on the same machine in parallel.
# Try and cover all supported pythons and NumPy's in some combination
- os: osx
env: PYTHON=3.7 NUMPY=1.16 CONDA_ENV=travisci BUILD_DOC=yes
- env: PYTHON=3.7 NUMPY=1.16 CONDA_ENV=travisci TEST_THREADING=tbb
- env: PYTHON=2.7 NUMPY=1.16 CONDA_ENV=travisci
- env: PYTHON=2.7 NUMPY=1.9 CONDA_ENV=travisci
- env: PYTHON=3.5 NUMPY=1.10 CONDA_ENV=travisci
- env: PYTHON=3.5 NUMPY=1.11 CONDA_ENV=travisci
- env: PYTHON=3.6 NUMPY=1.12 CONDA_ENV=travisci
- env: PYTHON=3.6 NUMPY=1.13 CONDA_ENV=travisci
- env: PYTHON=3.7 NUMPY=1.14 CONDA_ENV=travisci
- env: PYTHON=3.7 NUMPY=1.15 CONDA_ENV=travisci
- env: PYTHON=3.7 NUMPY=1.16 CONDA_ENV=travisci TEST_SVML=yes
- env: PYTHON=3.7 NUMPY=1.16 CONDA_ENV=travisci VANILLA_INSTALL=yes
- env: PYTHON=2.7 NUMPY=1.11 CONDA_ENV=travisci BITS32=yes
- env: PYTHON=3.7 NUMPY=1.15 CONDA_ENV=travisci BITS32=yes
- env: PYTHON=3.7 NUMPY=1.16 CONDA_ENV=travisci TEST_THREADING=omp
- env: PYTHON=3.7 NUMPY=1.16 CONDA_ENV=travisci TEST_THREADING=workqueue
branches:
only:
- master
- travis
before_install:
- if [ "$(uname)" == "Linux" ] && [[ "$CONDA_SUBDIR" == "linux-32" || "$BITS32" == "yes" ]]; then sudo apt-get install libc6-dev-i386; fi
- buildscripts/incremental/install_miniconda.sh
- export PATH=$HOME/miniconda3/bin:$PATH
- buildscripts/incremental/setup_conda_environment.sh
install:
- buildscripts/incremental/build.sh
script:
- buildscripts/incremental/test.sh
after_success:
- buildscripts/incremental/after_success.sh
notifications:
email: false
on_success: "change"
on_failure: "always" # "change"
slack:
secure: SGgsT4DevPiF/u4y3HBorUYCVWan7EjSnEBmuGPnGkepv8JxfOnbbeM3ca2TSWa601J4OP2K2JhehUGZSn6YkTx5XKOzqF2pddZQX8j0B4htDgV2qvcY/aIUFz8UW2uQAuguP6OlHPmAj5KgF5raJ34rkmTd8UgObL6jAan2Kzg=
webhooks:
urls:
- secure: "IpSOubapaCybPfQc/XRaFTB7nry+wSN0dGkU/m4aBclLiEx8Op+mAH8rm9N58U6TG5jhcNBmv7RCjs6k3Pi0Ra3Bt0x6fjB/46Xj93k0tftcfIn+0jLjujbmJym0efTxhj4ip+b0awh8f/LKY/U46PfEBSJmxUppY84YhRU23kI="
on_success: change
on_failure: always
on_start: false