Skip to content

Commit e2661dc

Browse files
committed
Add travis config
1 parent 226edb2 commit e2661dc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.travis.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: cpp
2+
compiler:
3+
- gcc
4+
- clang
5+
before_install:
6+
- sudo add-apt-repository --yes ppa:zoogie/sdl2-snapshots
7+
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
8+
- sudo apt-get update -qq
9+
- sudo apt-get install -qq cmake libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev g++-4.8
10+
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
11+
script:
12+
- cmake . && make

0 commit comments

Comments
 (0)