Removed verbosity, extra db creation from travis build steps and fixed a db name
This commit is contained in:
parent
beee057dd2
commit
167eff56be
|
@ -30,14 +30,10 @@ before_script:
|
|||
- autoheader
|
||||
- automake --force-missing --add-missing
|
||||
- autoconf
|
||||
- mysql -e 'create database zoneminder;'
|
||||
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=travis ZM_DB_PASS=
|
||||
- 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=travis ZM_DB_PASS=''
|
||||
- make
|
||||
- sudo make install
|
||||
- grep -A2 'CREATE DATABASE' db/zm_create.sql
|
||||
- mysql -u travis -e 'show databases;'
|
||||
- sudo cat /usr/local/etc/zm.conf
|
||||
- mysql -u travis < db/zm_create.sql
|
||||
- mysql -u travis zoneminder < db/test.monitor.sql
|
||||
- mysql -u travis zm < db/test.monitor.sql
|
||||
- sudo zmpkg.pl start
|
||||
|
|
Loading…
Reference in New Issue