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

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


 Module: monitoring-plugins
 Branch: maint-2.1
 Commit: cda7afd890d67d5020e7b5af63ef3796c3643d9e
 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=cda7afd

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

---

 .travis.yml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 15ee5ac..6255e79 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,16 +5,21 @@ 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
   - sudo apt-get install -qq --no-install-recommends libdbi0-dev libdbd-sqlite3 libssl-dev dnsutils snmp-mibs-downloader libsnmp-perl snmpd
   - sudo apt-get install -qq --no-install-recommends fping snmp netcat smbclient fping pure-ftpd apache2 postfix libhttp-daemon-ssl-perl
   - 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