diff --git a/.travis.yml b/.travis.yml index fe259926f..7cc264712 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,4 +34,7 @@ before_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=travis ZM_DB_PASS= - make -after_success: mysql -u travis < db/zm_create.sql + - sudo make install + - mysql -u travis < db/zm_create.sql + - mysql -u travis zm < db/test.monitor.sql + - sudo zmpkg.pl start diff --git a/db/test.monitor.sql b/db/test.monitor.sql new file mode 100644 index 000000000..c2d9a0e6a --- /dev/null +++ b/db/test.monitor.sql @@ -0,0 +1,2 @@ + +INSERT INTO `Monitors` VALUES ('', 'speed_racer','Remote','Modect',1,'','','/dev/video0',0,255,'http','simple','50.79.143.149','21146','','/mjpg/video.mjpg',1280,800,3,0,'0',0,-1,-1,-1,-1,'Event-','%N - %d/%m/%y %H:%M:%S',0,0,50,25,25,25,1000,1,600,0,0.00,0.00,1000,12,0,0,'','',0.00,0,0,-1,0,'Events',100,100,'#0000c0','red',4,'',1);