summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2014-12-12 10:36:54 +1100
committerLeith Bade <leith@mapbox.com>2014-12-12 10:36:54 +1100
commit6f56e88ee599160b336cce222384979a2b517343 (patch)
treec1b660116564f048e05629f643a90de44911869b /.travis.yml
parent3c021085a1624c4cfed8e9324f4f6f4347f84297 (diff)
downloadqtlocation-mapboxgl-6f56e88ee599160b336cce222384979a2b517343.tar.gz
Stop services only on Linux
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 817dc77fcc..c5f1070ec5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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