Another whack at travis with clang
This commit is contained in:
parent
b314705def
commit
5261fc2495
@ -9,6 +9,9 @@ before_install:
|
|||||||
- sudo apt-get -qq update
|
- sudo apt-get -qq update
|
||||||
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
|
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
|
||||||
- if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 98; fi
|
- if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 98; fi
|
||||||
|
|
||||||
|
# Upgrade clang
|
||||||
|
- sudo apt-get -qq install llvm-3.4 llvm-3.4-dev
|
||||||
- if [ "$CXX" = "clang++" ]; then export CXXFLAGS="$CXXFLAGS -stdlib=libc++"; fi
|
- if [ "$CXX" = "clang++" ]; then export CXXFLAGS="$CXXFLAGS -stdlib=libc++"; fi
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
|
Loading…
Reference in New Issue
Block a user