From 08cd61387ee078b81c50fa2714e9f1534a0865a2 Mon Sep 17 00:00:00 2001 From: iphydf Date: Thu, 5 Jan 2017 21:23:06 +0000 Subject: Add an OSX build that doesn't run tests. This one is not allowed to fail and ensures that toxcore can at least be built for OSX. --- .travis.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 58d7db21..8716630b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,13 @@ language: c matrix: include: + # OSX build comes first because Travis queues builds in order. The OSX + # builds are often pushed on a very long (100-200 jobs) backlog, so they get + # highest priority in our build sequence. + - env: JOB=toxcore ENV=osx RUN_TESTS=false + os: osx + - env: JOB=toxcore ENV=osx RUN_TESTS=true + os: osx - env: JOB=hstox ENV=linux language: haskell ghc: 7.8 @@ -9,8 +16,6 @@ matrix: compiler: gcc - env: JOB=toxcore ENV=linux compiler: clang - - env: JOB=toxcore ENV=osx - os: osx - env: JOB=toxcore ENV=windows ARCH=i686 services: - docker @@ -19,7 +24,7 @@ matrix: - docker fast_finish: true allow_failures: - - os: osx + - env: JOB=toxcore ENV=osx RUN_TESTS=true addons: apt: -- cgit v1.2.3