blob: cbf71e90682d5368b6a76228a8f5c6628affdda1 [file] [log] [blame]
# After changing this file, check it on:
# http://lint.travis-ci.org/
language: python
group: travis_latest
# Run jobs on container-based infrastructure, can be overridden per job
sudo: false
# Travis whitelists the installable packages, additions can be requested
# https://github.com/travis-ci/apt-package-whitelist
addons:
apt:
packages: &common_packages
- gfortran
- libatlas-dev
- libatlas-base-dev
# Speedup builds, particularly when USE_CHROOT=1
- eatmydata
cache:
directories:
- $HOME/.cache/pip
env:
global:
- WHEELHOUSE_UPLOADER_USERNAME=travis.numpy
# The following is generated with the command:
# travis encrypt -r numpy/numpy WHEELHOUSE_UPLOADER_SECRET=tH3AP1KeY
- secure: "IEicLPrP2uW+jW51GRwkONQpdPqMVtQL5bdroqR/U8r9Tr\
XrbCVRhp4AP8JYZT0ptoBpmZWWGjmKBndB68QlMiUjQPow\
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
- python: 3.5
dist: xenial # Required for python3.5-dbg
sudo: true # travis-ci/travis-ci#9069
env: USE_DEBUG=1
addons:
apt:
packages:
- *common_packages
- cython3-dbg
- python3-dbg
- python3-dev
- python3-setuptools
- python: 3.6
env: USE_WHEEL=1 RUN_FULL_TESTS=1 RUN_COVERAGE=1 INSTALL_PICKLE5=1
- python: 3.6
env: USE_SDIST=1
- python: 3.6
env:
- PYTHONOPTIMIZE=2
- USE_ASV=1
- python: 3.5
env: NPY_RELAXED_STRIDES_CHECKING=0
- python: 3.6
env: USE_WHEEL=1 NPY_RELAXED_STRIDES_DEBUG=1
- python: 3.6
env:
- BLAS=None
- LAPACK=None
- ATLAS=None
- python: 3.6
env:
- NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=1
- os: linux-ppc64le
python: 3.6
env:
# for matrix annotation only
- PPC64_LE=1
before_install:
- ./tools/travis-before-install.sh
script:
- ./tools/travis-test.sh
after_success:
- ./tools/travis-upload-wheel.sh