[monitoring-plugins] travis-ci: Install mariadb-client and ...

Jan Wagner git at monitoring-plugins.org
Wed Oct 21 17:10:10 CEST 2015


 Module: monitoring-plugins
 Branch: master
 Commit: 2a3f4b30ad905e4d858d5279af0aa2c5c44f4c4c
 Author: Jan Wagner <waja at cyconet.org>
   Date: Mon Oct 19 18:04:31 2015 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=2a3f4b3

travis-ci: Install mariadb-client and mariadb-server

---

 .travis.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index a719c10..4f3c3e0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,8 +5,9 @@ language: c
 before_install:
   - sudo apt-get update -qq
   - sudo apt-get purge -qq gawk
-  # ensure we have a test database in place for tests
-  - mysql -e "create database IF NOT EXISTS test;" -uroot
+  # http://docs.travis-ci.com/user/trusty-ci-environment/ indicates, no MySQL on Trusty (yet)
+  # # ensure we have a test database in place for tests
+  # - mysql -e "create database IF NOT EXISTS test;" -uroot
 
 install:
   - sudo apt-get install -qq --no-install-recommends perl autotools-dev libdbi-dev libldap2-dev libpq-dev libmysqlclient-dev libfreeradius-client-dev libkrb5-dev libnet-snmp-perl procps
@@ -16,8 +17,11 @@ install:
   - sudo apt-get install -qq --no-install-recommends slapd ldap-utils
   - sudo apt-get install -qq --no-install-recommends autoconf automake
   - sudo apt-get install -qq --no-install-recommends faketime
+  - sudo apt-get install -qq --no-install-recommends mariadb-client mariadb-server
 
 before_script:
+  # ensure we have a test database in place for tests
+  - mysql -e "create database IF NOT EXISTS test;" -uroot
   - tools/setup
   - ./configure --enable-libtap
   - make



More information about the Commits mailing list