Create the database for travis during the before_script step

This commit is contained in:
Kyle Johnson 2013-09-27 13:08:45 -04:00
parent 27349f87a6
commit cd902b5dc1
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ before_script:
- autoheader - autoheader
- automake --force-missing --add-missing - automake --force-missing --add-missing
- autoconf - autoconf
- mysql -e 'create database zm;'
script: script:
- CXXFLAGS="$CXXFLAGS" ./configure --with-libarch=lib/$DEB_HOST_GNU_TYPE --disable-debug --host=$DEB_HOST_GNU_TYPE --build=$DEB_BUILD_GNU_TYPE --with-mysql=/usr --with-webdir=/var/www/zm --with-ffmpeg=/usr --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data --enable-crashtrace=no --enable-mmap=yes ZM_SSL_LIB=openssl ZM_DB_USER=zm ZM_DB_PASS=zm ZM_DB_NAME=zm - CXXFLAGS="$CXXFLAGS" ./configure --with-libarch=lib/$DEB_HOST_GNU_TYPE --disable-debug --host=$DEB_HOST_GNU_TYPE --build=$DEB_BUILD_GNU_TYPE --with-mysql=/usr --with-webdir=/var/www/zm --with-ffmpeg=/usr --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data --enable-crashtrace=no --enable-mmap=yes ZM_SSL_LIB=openssl ZM_DB_USER=zm ZM_DB_PASS=zm ZM_DB_NAME=zm
- make - make