Select Git revision
.travis.yml
-
Stefan Behnel authoredStefan Behnel authored
.travis.yml 5.66 KiB
os: linux
language: python
addons:
apt:
packages:
- gdb
- python-dbg
- python3-dbg
- libzmq-dev # needed by IPython/Tornado
#- gcc-8
#- g++-8
cache:
pip: true
directories:
- $HOME/.ccache
python:
- 3.8
- 2.7
- 3.9-dev
- 3.7
- 3.6
- 3.5
- 3.4
env:
global:
- USE_CCACHE=1
- CCACHE_SLOPPINESS=pch_defines,time_macros
- CCACHE_COMPRESS=1
- CCACHE_MAXSIZE=250M
- PATH="/usr/lib/ccache:$HOME/miniconda/bin:$PATH"
- BACKEND=c,cpp
matrix:
- BACKEND=c
- BACKEND=cpp
matrix:
include:
# slowest first
- os: osx
osx_image: xcode10.3
env: PY=2 MACOSX_DEPLOYMENT_TARGET=10.9
python: 2
language: c
compiler: clang
cache: false
- os: osx
osx_image: xcode10.3
env: PY=3 MACOSX_DEPLOYMENT_TARGET=10.9
python: 3
language: c
compiler: clang
cache: false
# Disabled: coverage analysis takes excessively long, several times longer than without.
# - python: 3.7
# env: COVERAGE=1
- python: 3.7
env: TEST_CODE_STYLE=1
- python: 3.8
env: LIMITED_API=--limited-api EXCLUDE=--no-file
- python: 3.7
env: LIMITED_API=--limited-api EXCLUDE=--no-file
- python: 3.6
env: LIMITED_API=--limited-api EXCLUDE=--no-file
- env: STACKLESS=true BACKEND=c PY=2
python: 2.7
- env: STACKLESS=true BACKEND=c PY=3