summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml73
1 files changed, 53 insertions, 20 deletions
diff --git a/.travis.yml b/.travis.yml
index 23c731f83..64b7be051 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,8 +2,7 @@
# http://lint.travis-ci.org/
language: python
group: travis_latest
-# Run jobs on container-based infrastructure, can be overridden per job
-sudo: false
+dist: xenial
# Travis whitelists the installable packages, additions can be requested
# https://github.com/travis-ci/apt-package-whitelist
@@ -11,7 +10,6 @@ addons:
apt:
packages: &common_packages
- gfortran
- - libatlas-dev
- libatlas-base-dev
# Speedup builds, particularly when USE_CHROOT=1
- eatmydata
@@ -20,8 +18,17 @@ cache:
directories:
- $HOME/.cache/pip
+stage: Comprehensive tests
+
+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
+
env:
global:
+ - OpenBLAS_version=0.3.7
- WHEELHOUSE_UPLOADER_USERNAME=travis.numpy
# The following is generated with the command:
# travis encrypt -r numpy/numpy WHEELHOUSE_UPLOADER_SECRET=tH3AP1KeY
@@ -30,18 +37,18 @@ env:
iFWt9Ka92CaqYdU7nqfWp9VImSndPmssjmCXJ1v1IjZPAM\
ahp7Qnm0rWRmA0z9SomuRUQOJQ6s684vU="
-python:
- - 3.5
- - 3.6
matrix:
include:
- - python: 3.7
- dist: xenial # Required for Python 3.7
- sudo: true # travis-ci/travis-ci#9069
- env: INSTALL_PICKLE5=1
+ # Do all python versions without environment variables set
+ - stage: Initial tests
+ python: 3.8
+
- python: 3.5
- dist: xenial # Required for python3.5-dbg
- sudo: true # travis-ci/travis-ci#9069
+ - python: 3.6
+ - python: 3.7
+
+ - python: 3.6
+ dist: bionic
env: USE_DEBUG=1
addons:
apt:
@@ -51,26 +58,52 @@ matrix:
- python3-dbg
- python3-dev
- python3-setuptools
- - python: 3.6
+
+ - python: 3.7
env: USE_WHEEL=1 RUN_FULL_TESTS=1 RUN_COVERAGE=1 INSTALL_PICKLE5=1
- - python: 3.6
+
+ - python: 3.7
env: USE_SDIST=1
- - python: 3.6
+
+ - python: 3.7
env:
- PYTHONOPTIMIZE=2
+ - BLAS=None
+ - LAPACK=None
+ - ATLAS=None
+ - NPY_BLAS_ORDER=mkl,blis,openblas,atlas,accelerate,blas
+ - NPY_LAPACK_ORDER=MKL,OPENBLAS,ATLAS,ACCELERATE,LAPACK
- USE_ASV=1
- - python: 3.5
+
+ - python: 3.7
env: NPY_RELAXED_STRIDES_CHECKING=0
- - python: 3.6
+
+ - python: 3.7
env: USE_WHEEL=1 NPY_RELAXED_STRIDES_DEBUG=1
- - python: 3.6
+
+ - python: 3.7
+ env: NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=0
+
+ - python: 3.7
env:
- BLAS=None
- LAPACK=None
- ATLAS=None
- - python: 3.6
+
+ - python: 3.7
+ os: linux
+ arch: ppc64le
+ env:
+ # use ppc64le OpenBLAS build, not system ATLAS
+ - ATLAS=None
+
+ - python: 3.7
+ os: linux
+ arch: s390x
env:
- - NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=1
+ # use s390x OpenBLAS build, not system ATLAS
+ - ATLAS=None
+
before_install:
- ./tools/travis-before-install.sh