From 0e9098ee9da39c061b1982dd8f5f18d55044e89c Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 5 Sep 2016 19:02:13 +0200 Subject: [PATCH] build: activate Travis-CI builds --- .travis.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..24b95e3 --- /dev/null +++ b/.travis.yml @@ -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 +