Stop services only on Linux

This commit is contained in:
Leith Bade
2014-12-12 10:36:54 +11:00
parent 3c021085a1
commit 6f56e88ee5

View File

@@ -46,8 +46,8 @@ env:
- TERM=dumb
before_install:
- sudo service mysql stop
- sudo service postgresql stop
- if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then sudo service mysql stop; fi
- if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then sudo service postgresql stop; fi
- source ./scripts/local_mason.sh
- source ./scripts/travis_helper.sh
- source ./scripts/flags.sh