Skip to content
Snippets Groups Projects
Commit fe267da80f2a 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 branches found
No related tags found
No related merge requests found
os: linux
dist: trusty
language: python
# 'sudo' is enabled automatically by the 'apt' addon below.
......@@ -3,6 +2,6 @@
language: python
# 'sudo' is enabled automatically by the 'apt' addon below.
#sudo: false
sudo: required
addons:
apt:
......@@ -19,6 +18,14 @@
directories:
- $HOME/.ccache
python:
- 3.8
- 2.7
- 3.7
- 3.6
- 3.5
- 3.4
env:
global:
- USE_CCACHE=1
......@@ -27,6 +34,9 @@
- CCACHE_MAXSIZE=250M
- PATH="/usr/lib/ccache:$HOME/miniconda/bin:$PATH"
- BACKEND=c,cpp
matrix:
- BACKEND=c
- BACKEND=cpp
matrix:
include:
......@@ -30,17 +40,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 +43,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 +45,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 +47,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