diff options
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 5b34fb96..7dfde73d 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 | ||
60 | before_script: | 60 | before_script: |
61 | # ensure we have a test database in place for tests | 61 | # ensure we have a test database in place for tests |