.travis.yml: Allow OSX tests on 'master' to finish early (and fail)

This commit is contained in:
Aaron Lindsay 2017-11-17 11:45:01 -05:00
parent 955bb214b8
commit 8ac573796b
1 changed files with 7 additions and 0 deletions

View File

@ -17,6 +17,13 @@ env:
- MONEYGO_TEST_DB=mysql
- MONEYGO_TEST_DB=postgres
# OSX builds take too long, so don't wait for all of them
matrix:
fast_finish: true
allow_failures:
- os: osx
go: master
# Install MySQL or Postgres if on OSX
before_install:
- if [ $TRAVIS_OS_NAME = 'osx' ] && [ $MONEYGO_TEST_DB = 'mysql' ]; then brew update > /dev/null && brew install mariadb && mysql.server start; fi