Skip to content

Commit

Permalink
Use matrix.fast_finish for the travis-ci to mark the build ASAP
Browse files Browse the repository at this point in the history
AFAIR there is shortage of osx workers on travis-ci, IOW builds that
requires them can wait fair amount of time in the queue by just waiting.

Plus linux workers AFAICS can run multiple jobs in parallel (4-5), while
osx does not.

Hence if we do allow failures for osx (and right now they have a lot of
failed tests) let's mark build result based on tests under linux only.

So in a nut shell this will reduce build time from 5 hours to 20-30
minutes.
  • Loading branch information
azat committed Oct 21, 2018
1 parent 6ac8e77 commit 5d3e8c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ matrix:
env: EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__COVERAGE=ON -DCMAKE_BUILD_TYPE=debug" COVERALLS=yes
allow_failures:
- os: osx
fast_finish: true

language: c
compiler:
Expand Down

0 comments on commit 5d3e8c1

Please sign in to comment.