Browse Source

Try to use newer clang with Travis

Thomas Buck 9 years ago
parent
commit
866487c3ad
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      cmake/travis_before_install_linux.sh
  2. 1
    0
      cmake/travis_install_linux.sh

+ 1
- 0
cmake/travis_before_install_linux.sh View File

@@ -3,5 +3,6 @@
3 3
 sudo add-apt-repository -y ppa:zoogie/sdl2-snapshots
4 4
 sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
5 5
 sudo add-apt-repository -y ppa:kalakris/cmake
6
+sudo add-apt-repository -y ppa:h-rayflood/llvm
6 7
 sudo apt-get -qq -y update
7 8
 

+ 1
- 0
cmake/travis_install_linux.sh View File

@@ -3,4 +3,5 @@
3 3
 sudo apt-get -qq -y install libsdl2-dev libsdl2-ttf-dev libalut-dev libpng12-dev zlib1g-dev cmake
4 4
 if [ "$CC" = "gcc" ]; then sudo apt-get install gcc-4.8; fi
5 5
 if [ "$CXX" = "g++" ]; then sudo apt-get install g++-4.8; fi
6
+if [ "$CXX" = "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq clang-3.4; fi
6 7
 

Loading…
Cancel
Save