diff options
author | Jan Wagner <waja@cyconet.org> | 2014-07-30 11:04:09 (GMT) |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2014-07-30 11:10:11 (GMT) |
commit | d8c20cc487f4dc361af553c57b8b4f8a4ab1dd29 (patch) | |
tree | 1f9045189c5f63fde9d4ba8353398f3c66fa36cc /.travis.yml | |
parent | 2acf9a63d357d7309dc26511fa58a4cf23a449b1 (diff) | |
download | monitoring-plugins-d8c20cc487f4dc361af553c57b8b4f8a4ab1dd29.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 |