Adding Travis CI script

because a build test is useful
This commit is contained in:
John Peterson 2013-06-13 22:04:59 +02:00
parent 9594cac42c
commit 3763021136
1 changed files with 16 additions and 0 deletions

16
.travis.yml Normal file
View File

@ -0,0 +1,16 @@
language:
- cpp
# - objective-c
install:
- sudo add-apt-repository -y ppa:fransschreuder1/usbpicprog-stable
- sudo apt-get -qq update
- sudo apt-get -qq install git cmake gettext wx2.9-headers libwxbase2.9-dev libwxgtk2.9-dev libgtk-3-dev libwayland-dev libsdl1.2-dev nvidia-cg-toolkit libxrandr-dev libxext-dev libglew-dev libavcodec-dev libavformat-dev libsoil-dev libsfml-dev libopenal-dev libao-dev libasound2-dev libpulse-dev libportaudio-dev libsoundtouch-dev libbluetooth-dev libreadline-dev libswscale-dev liblzo2-dev
- nproc=$((`nproc` / 2))
# - brew update
# - brew install cmake
# - nproc=4
script:
- cmake . && make -j $nproc