forked from numpy/numpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
126 lines (106 loc) · 2.63 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# After changing this file, check it on:
# http://lint.travis-ci.org/
language: python
group: travis_latest
os: linux
dist: bionic
# Travis allows these packages, additions can be requested
# https://github.com/travis-ci/apt-package-safelist
addons:
apt:
packages: &common_packages
- gfortran
- libgfortran5
- libatlas-base-dev
# Speedup builds, particularly when USE_CHROOT=1
- eatmydata
cache:
directories:
- $HOME/.cache/pip
stages:
# Do the style check and a single test job, don't proceed if it fails
- name: Initial tests
# Do the rest of the tests
- name: Comprehensive tests
jobs:
include:
# Do all python versions without environment variables set
- stage: Initial tests
python: 3.8
- stage: Comprehensive tests
python: 3.6
- python: 3.7
- python: 3.9-dev
- python: 3.8
dist: focal
env: USE_DEBUG=1
addons:
apt:
packages:
- *common_packages
- cython3-dbg
- python3-dbg
- python3-dev
- python3-setuptools
- python: 3.7
env: USE_WHEEL=1 RUN_FULL_TESTS=1 RUN_COVERAGE=1 INSTALL_PICKLE5=1
- python: 3.7
env: USE_SDIST=1
- python: 3.7
env:
- PYTHONOPTIMIZE=2
- BLAS=None
- LAPACK=None
- ATLAS=None
- NPY_BLAS_ORDER=mkl,blis,openblas,atlas,blas
- NPY_LAPACK_ORDER=MKL,OPENBLAS,ATLAS,LAPACK
- USE_ASV=1
- python: 3.7
env:
- NPY_RELAXED_STRIDES_CHECKING=0
# use custom symbol-suffixed openblas build, not system ATLAS
- DOWNLOAD_OPENBLAS=1
- CHECK_BLAS=1
- NPY_USE_BLAS_ILP64=1
addons:
apt:
packages:
- gfortran
- eatmydata
- libgfortran5
- libgfortran3
- python: 3.7
env: USE_WHEEL=1 NPY_RELAXED_STRIDES_DEBUG=1
- python: 3.7
env: NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=0
- python: 3.7
env:
- BLAS=None
- LAPACK=None
- ATLAS=None
- python: 3.7
os: linux
arch: ppc64le
env:
# use OpenBLAS build, not system ATLAS
- DOWNLOAD_OPENBLAS=1
- ATLAS=None
- python: 3.7
os: linux
arch: s390x
env:
# use OpenBLAS build, not system ATLAS
- DOWNLOAD_OPENBLAS=1
- NPY_USE_BLAS_ILP64=1
- ATLAS=None
- python: 3.7
os: linux
arch: arm64
env:
# use OpenBLAS build, not system ATLAS
- DOWNLOAD_OPENBLAS=1
- ATLAS=None
before_install:
- ./tools/travis-before-install.sh
script:
- ./tools/travis-test.sh