diff options
author | Jan Wagner <waja@cyconet.org> | 2014-07-30 11:04:09 (GMT) |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2014-08-20 18:55:53 (GMT) |
commit | 369dba6206d331f59f0b70804595141b2528c685 (patch) | |
tree | 719518af24b0ab453d26f87cd296e815890b7334 /.travis.yml | |
parent | eee374189775e7146bb9233a29f2c0f6304249d0 (diff) | |
download | monitoring-plugins-369dba6206d331f59f0b70804595141b2528c685.tar.gz |
travis-ci: create MySQL database 'test'
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index cec7878..2275be3 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -4,6 +4,8 @@ before_install: | |||
4 | - sudo add-apt-repository -y ppa:waja/precise-backports | 4 | - sudo add-apt-repository -y ppa:waja/precise-backports |
5 | - sudo apt-get update -qq | 5 | - sudo apt-get update -qq |
6 | - sudo apt-get purge -qq gawk | 6 | - sudo apt-get purge -qq gawk |
7 | # ensure we have a test database in place for tests | ||
8 | - mysql -e "create database IF NOT EXISTS test;" -uroot | ||
7 | 9 | ||
8 | install: | 10 | install: |
9 | - 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 | 11 | - 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 |