Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Adding Travis CI script
because a build test is useful
- Loading branch information
1 parent
9594cac
commit 3763021
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |