Added missing build steps to generate build files to .travis.yml

This commit is contained in:
Kyle Johnson 2013-09-23 09:59:47 -04:00
parent aa5290ce3f
commit f2c58acd94
1 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,11 @@ before_install:
install: git clone git://source.ffmpeg.org/ffmpeg.git && cd ffmpeg && ./configure --enable-shared --enable-swscale --enable-gpl --enable-libx264 --enable-libvpx --enable-libvorbis --enable-libtheora && make -j `grep processor /proc/cpuinfo|wc -l` && sudo make install && sudo make install-libs
before_script:
- cd $TRAVIS_BUILD_DIR
- libtoolize --force
- aclocal
- 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= && make
after_success: mysql -u travis < db/zm_create.sql