summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2016-12-08 12:02:21 (GMT)
committerJan Wagner <waja@cyconet.org>2016-12-08 12:12:02 (GMT)
commit2e905c39b8cd030fe05216219539ca99bec27f1d (patch)
treec64e362262baca4a1900f4e8376cbf7237d43d93
parent5ba7af8714c88a5e7f256d3c37a052600135ed23 (diff)
downloadmonitoring-plugins-2e905c3.tar.gz
travis-ci: Install mariadb only if no MySQL is present
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 5b34fb9..7dfde73 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -55,7 +55,7 @@ install:
55 - sudo apt-get install -qq --no-install-recommends autoconf automake 55 - sudo apt-get install -qq --no-install-recommends autoconf automake
56 - sudo apt-get install -qq --no-install-recommends faketime 56 - sudo apt-get install -qq --no-install-recommends faketime
57 # Trusty related dependencies (not yet provided) 57 # Trusty related dependencies (not yet provided)
58 - sudo apt-get install -qq --no-install-recommends mariadb-client mariadb-server 58 - test "$(dpkg -l | grep -E "mysql-(client|server)-[0-9].[0-9]" | grep -c ^ii)" -gt 0 || sudo apt-get install -qq --no-install-recommends mariadb-client mariadb-server
59 59
60before_script: 60before_script:
61 # ensure we have a test database in place for tests 61 # ensure we have a test database in place for tests