From 92c4108dba605fac66c99352b3bdc40c5a9aacce Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Mon, 11 Dec 2017 19:28:00 -0500 Subject: Separate FreeBSD Travis build in 2 stages --- .travis.yml | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index ef70efb3..7c96fb30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,21 +2,34 @@ language: c matrix: include: - - env: JOB=toxcore ENV=osx RUN_TESTS=true - os: osx - - env: JOB=autotools ENV=linux + - stage: "Stage 1" + env: JOB=autotools ENV=linux compiler: gcc - - env: JOB=toxcore ENV=linux + - stage: "Stage 1" + env: JOB=toxcore ENV=linux compiler: clang - - env: JOB=toxcore ENV=windows ARCH=i686 + - stage: "Stage 1" + env: JOB=toxcore ENV=windows ARCH=i686 services: - docker - - env: JOB=toxcore ENV=windows ARCH=x86_64 + - stage: "Stage 1" + env: JOB=toxcore ENV=windows ARCH=x86_64 services: - docker - - env: JOB=toxcore ENV=freebsd + - stage: "Stage 1" + env: JOB=toxcore ENV=freebsd + dist: trusty + sudo: required + install: other/travis/phase $JOB $ENV install stage1 + script: other/travis/phase $JOB $ENV script stage1 + - stage: "Stage 2" + env: JOB=toxcore ENV=freebsd dist: trusty sudo: required + install: other/travis/phase $JOB $ENV install stage2 + - stage: "Stage 2" + env: JOB=toxcore ENV=osx RUN_TESTS=true + os: osx fast_finish: true addons: -- cgit v1.2.3