Add travis config file

This commit is contained in:
Dmitry Marakasov 2014-01-31 04:22:02 +04:00
parent 99302bb3ac
commit a50a6943f4

11
.travis.yml Normal file
View File

@ -0,0 +1,11 @@
language: cpp
compiler:
- gcc
- clang
before_install:
- sudo add-apt-repository --yes ppa:zoogie/sdl2-snapshots
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install -qq cmake libsdl2-dev g++-4.8
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
script: cmake . && make