From 2159c045ba90d994a4bd32a155d5825be61d94e4 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 5 Sep 2016 11:35:40 +0200 Subject: [PATCH] build: try to fix broken Travis-CI environment. --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fb3a083d..3e2b0320 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,11 +15,14 @@ addons: - libsdl2-image-dev - libsdl2-mixer-dev - libglew-dev - # maybe this can fix clang compilation + # this can fix clang compilation + - clang-3.8 - libc++-dev before_install: # - .travis/before_install.sh + - if [ "$CC" = "clang" ]; then export CC="clang-3.8"; fi + - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.8 -stdlib=libc++"; fi - ./bootstrap os: