Commit 0445486a authored by Stefan Behnel's avatar Stefan Behnel

Move back to a matrix setup in travis.yml to avoid the long list of redundant...

Move back to a matrix setup in travis.yml to avoid the long list of redundant and boring Python build setups.
parent a7381504
os: linux os: linux
dist: trusty
language: python language: python
# 'sudo' is enabled automatically by the 'apt' addon below.
#sudo: false
addons: addons:
apt: apt:
...@@ -19,6 +16,14 @@ cache: ...@@ -19,6 +16,14 @@ cache:
directories: directories:
- $HOME/.ccache - $HOME/.ccache
python:
- 3.8
- 2.7
- 3.7
- 3.6
- 3.5
- 3.4
env: env:
global: global:
- USE_CCACHE=1 - USE_CCACHE=1
...@@ -27,60 +32,22 @@ env: ...@@ -27,60 +32,22 @@ env:
- CCACHE_MAXSIZE=250M - CCACHE_MAXSIZE=250M
- PATH="/usr/lib/ccache:$HOME/miniconda/bin:$PATH" - PATH="/usr/lib/ccache:$HOME/miniconda/bin:$PATH"
- BACKEND=c,cpp - BACKEND=c,cpp
matrix:
- BACKEND=c
- BACKEND=cpp
matrix: matrix:
include: include:
- python: 2.7
env: BACKEND=c
- python: 2.7
env: BACKEND=cpp
- python: 3.7
dist: xenial # Required for Python 3.7
sudo: required # travis-ci/travis-ci#9069
env: BACKEND=c
- python: 3.7
dist: xenial # Required for Python 3.7
sudo: required # travis-ci/travis-ci#9069
env: BACKEND=cpp
# Disabled: coverage analysis takes excessively long, several times longer than without. # Disabled: coverage analysis takes excessively long, several times longer than without.
# - python: 3.7 # - python: 3.7
# dist: xenial # Required for Python 3.7
# sudo: required # travis-ci/travis-ci#9069
# env: COVERAGE=1 # env: COVERAGE=1
- python: 3.7 - python: 3.7
dist: xenial # Required for Python 3.7
sudo: required # travis-ci/travis-ci#9069
env: TEST_CODE_STYLE=1 env: TEST_CODE_STYLE=1
- python: 3.8
env: LIMITED_API=--limited-api EXCLUDE=--no-file
- python: 3.7 - python: 3.7
dist: xenial # Required for Python 3.7
sudo: required # travis-ci/travis-ci#9069
env: LIMITED_API=--limited-api EXCLUDE=--no-file env: LIMITED_API=--limited-api EXCLUDE=--no-file
- python: 3.4
env: BACKEND=c
- python: 3.4
env: BACKEND=cpp
- python: 3.5
env: BACKEND=c
- python: 3.5
env: BACKEND=cpp
- python: 3.6
env: BACKEND=c
- python: 3.6
env: BACKEND=cpp
- python: 3.6 - python: 3.6
sudo: required # travis-ci/travis-ci#9069
env: LIMITED_API=--limited-api EXCLUDE=--no-file
- python: 3.8
dist: xenial # Required for Python 3.7
sudo: required # travis-ci/travis-ci#9069
env: BACKEND=c
- python: 3.8
dist: xenial # Required for Python 3.7
sudo: required # travis-ci/travis-ci#9069
env: BACKEND=cpp
- python: 3.8-dev
dist: xenial # Required for Python 3.8
sudo: required # travis-ci/travis-ci#9069
env: LIMITED_API=--limited-api EXCLUDE=--no-file env: LIMITED_API=--limited-api EXCLUDE=--no-file
- os: osx - os: osx
osx_image: xcode6.4 osx_image: xcode6.4
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment