Skip to content

Commit

Permalink
travis: build OS X on master and bors merges to it
Browse files Browse the repository at this point in the history
  • Loading branch information
ppannuto committed Feb 25, 2020
1 parent c6ad079 commit b2af196
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ addons:
packages: libusb-1.0-0-dev


# OS X builds are slower and with annoyingly non-deterministic latency.
# However, we would like to make sure that nothing slips through that won't run
# on OS X, so we configure travis to run OS X tests on `staging`, which is the
# branch that bors uses to test merge candidates and on `master`, to make sure
# any errant manual merges don't break things.
jobs:
include:
- if: ( branch = staging ) OR ( branch = master )
os: osx
- os: linux


# bors default configuration:
#branches:
# only:
Expand All @@ -26,8 +38,6 @@ branches:
cache:
cargo: true

os:
- linux

# If you change this, you must also change Getting_Started.md, Makefile.common,
# .vscode/settings.json, and tools/netlify-build.sh.
Expand Down

0 comments on commit b2af196

Please sign in to comment.