From 0286a69e9e2283c3521c6f6767cadc950484fc58 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Wed, 25 Apr 2018 11:51:33 +0200 Subject: [PATCH] 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. --- .travis.yml | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 27140574e1..8c7ecaff58 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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