瀏覽代碼

Try to use newer clang with Travis

Thomas Buck 10 年之前
父節點
當前提交
866487c3ad
共有 2 個文件被更改,包括 2 次插入0 次删除
  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 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存