Skip to content
Snippets Groups Projects
Commit ffc9177fb3cd authored by Stefan Behnel's avatar Stefan Behnel
Browse files

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 be9c974cccf7
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
dist: trusty
language: python
# 'sudo' is enabled automatically by the 'apt' addon below.
#sudo: false
sudo: required
addons:
apt:
......@@ -19,6 +19,14 @@
directories:
- $HOME/.ccache
python:
- 3.8
- 2.7
- 3.7
- 3.6
- 3.5
- 3.4
env:
global:
- USE_CCACHE=1
......@@ -27,6 +35,9 @@
- CCACHE_MAXSIZE=250M
- PATH="/usr/lib/ccache:$HOME/miniconda/bin:$PATH"
- BACKEND=c,cpp
matrix:
- BACKEND=c
- BACKEND=cpp
matrix:
include:
......@@ -30,17 +41,5 @@
matrix:
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.
# - python: 3.7
......@@ -45,5 +44,3 @@
# Disabled: coverage analysis takes excessively long, several times longer than without.
# - python: 3.7
# dist: xenial # Required for Python 3.7
# sudo: required # travis-ci/travis-ci#9069
# env: COVERAGE=1
......@@ -49,5 +46,3 @@
# env: COVERAGE=1
- python: 3.7
dist: xenial # Required for Python 3.7
sudo: required # travis-ci/travis-ci#9069
- python: 3.8
env: TEST_CODE_STYLE=1
......@@ -53,24 +48,4 @@
env: TEST_CODE_STYLE=1
- 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.8-dev
dist: xenial # Required for Python 3.8
sudo: required # travis-ci/travis-ci#9069
env: BACKEND=c
- python: 3.8-dev
dist: xenial # Required for Python 3.8
sudo: required # travis-ci/travis-ci#9069
env: BACKEND=cpp
- os: osx
osx_image: xcode6.4
env: PY=2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment