ci: travis: allow for some failures in the matrix build

We want to make sure to have a stable and reliable subset of builds that
define if the build passed or not.
We also want to have builds which are more experimental. They give us a
good insight, but we are not yet ready to have them supported officially
as need-to-pass build. Namely the macOS build.

Another side effect of this change is that we reduce the critical build
matrix to 5 builds. The exact number of parallel ones we are allowed. With
fast_finish Travis will not wait for the other ones to finish before
setting the build status. This will allow us to have all builds in
parallel and not waiting for build #6 to be finished.
This commit is contained in:
Stefan Schmidt 2018-04-25 11:51:33 +02:00
parent 054424af51
commit 0286a69e9e
1 changed files with 27 additions and 11 deletions

View File

@ -3,23 +3,39 @@ language: c
sudo: required
dist: trusty
os: linux
os:
- linux
- osx
env:
-
- DISTRO=Ubuntu1710
- DISTRO=Fedora27 CI_BUILD_TYPE=wayland
- DISTRO=Fedora27 CI_BUILD_TYPE=misc
- DISTRO=Debian91
- DISTRO=Archlinux
services:
- docker
matrix:
include:
- env: DISTRO=Ubuntu1710
- env: DISTRO=Fedora27
- env: DISTRO=Fedora27 CI_BUILD_TYPE=wayland
- env: DISTRO=Fedora27 CI_BUILD_TYPE=misc
- env: DISTRO=Debian91
- env: DISTRO=Archlinux
fast_finish: true
exclude:
- os: osx
osx_image: xcode8.3
# Xcode 8.3.3, OS X 10.12
env: DISTRO=Ubuntu1710
- os: osx
env: DISTRO=Fedora27 CI_BUILD_TYPE=wayland
- os: osx
env: DISTRO=Fedora27 CI_BUILD_TYPE=misc
- os: osx
env: DISTRO=Debian91
- os: osx
env: DISTRO=Archlinux
- os: linux
env:
allow_failures:
- os: osx
env:
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then .ci/ci-osx-deps.sh ; fi