Skip to content

Commit

Permalink
build: activate Travis-CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
samhocevar committed Sep 5, 2016
1 parent dc924aa commit cf69e38
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
sudo: required
dist: trusty
language: c++
env: VERBOSE=1

addons:
apt:
packages:
- build-essential
- automake
- autoconf
- libtool
- pkg-config
- libsdl2-dev
- libsdl2-image-dev
- libsdl2-mixer-dev
- libglew-dev
# this can fix clang compilation
- clang-3.8
- libc++-dev

before_install:
- if [ "$CC" = "clang" ]; then export CC="clang-3.8"; fi
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.8 -stdlib=libc++"; fi
- ./bootstrap

os:
- linux

compiler:
- gcc
- clang

0 comments on commit cf69e38

Please sign in to comment.