Bläddra i källkod

Try to use newer clang with Travis

Thomas Buck 9 år sedan
förälder
incheckning
866487c3ad
2 ändrade filer med 2 tillägg och 0 borttagningar
  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 Visa fil

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

+ 1
- 0
cmake/travis_install_linux.sh Visa fil

3
 sudo apt-get -qq -y install libsdl2-dev libsdl2-ttf-dev libalut-dev libpng12-dev zlib1g-dev cmake
3
 sudo apt-get -qq -y install libsdl2-dev libsdl2-ttf-dev libalut-dev libpng12-dev zlib1g-dev cmake
4
 if [ "$CC" = "gcc" ]; then sudo apt-get install gcc-4.8; fi
4
 if [ "$CC" = "gcc" ]; then sudo apt-get install gcc-4.8; fi
5
 if [ "$CXX" = "g++" ]; then sudo apt-get install g++-4.8; fi
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
 

Laddar…
Avbryt
Spara