From 6f9fa0debff36e3e37907f07a71703525b4b3213 Mon Sep 17 00:00:00 2001 From: Kyle Johnson Date: Mon, 23 Sep 2013 09:26:17 -0400 Subject: [PATCH] Run as many make jobs as there are CPUs for the ffmpeg build --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a79ca408d..6a8eac16d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ before_install: - sudo apt-get update -qq - sudo apt-get upgrade -y - sudo apt-get install -y apache2 mysql-server php5 php5-mysql build-essential libmysqlclient-dev libssl-dev libbz2-dev libpcre3-dev libdbi-perl libarchive-zip-perl libdate-manip-perl libdevice-serialport-perl libmime-perl libpcre3 libwww-perl libdbd-mysql-perl libsys-mmap-perl yasm subversion automake autoconf libjpeg-turbo8-dev libjpeg-turbo8 apache2-mpm-prefork libapache2-mod-php5 php5-cli libtheora-dev libvorbis-dev libvpx-dev libx264-dev -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 && sudo make install && sudo make install-libs +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 ~/ZoneMinder/ - mysql -e 'create database zoneminder;'