summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorIlya Zhuravlev <zhuravlevilya@ya.ru>2013-01-28 00:37:20 +0400
committerIlya Zhuravlev <zhuravlevilya@ya.ru>2013-01-28 00:37:20 +0400
commitd6f0bf9eef30819d91f89f2181ac5278d238f1a9 (patch)
treea66170df7ae2e5e5b0aeaca9d81052214bec06f7 /.travis.yml
parentbcc0ca93d463ec7bdf6ff1ef621f7777014c404a (diff)
downloadminetest-d6f0bf9eef30819d91f89f2181ac5278d238f1a9.tar.gz
minetest-d6f0bf9eef30819d91f89f2181ac5278d238f1a9.tar.bz2
minetest-d6f0bf9eef30819d91f89f2181ac5278d238f1a9.zip
Workaround failing Travis clang build.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index b7f58cbe4..2cd867295 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,7 +2,9 @@ language: cpp
compiler:
- gcc
- clang
-before_install: sudo apt-get install libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev
+before_install:
+ - if [ $CC = "clang" ]; then export PATH="/usr/bin/:$PATH"; sudo sh -c 'echo "deb http://ppa.launchpad.net/eudoxos/llvm-3.1/ubuntu precise main" >> /etc/apt/sources.list'; sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 92DE8183; sudo apt-get update; sudo apt-get install llvm-3.1; sudo apt-get install clang; fi
+ - sudo apt-get install libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev
script: cmake . && make
notifications:
email: false