From 7acc5c8f30f7b896dc666cf805fae24642ccb781 Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Sat, 3 Dec 2016 01:10:07 -0800 Subject: Travis: Use a stable version of clang-format --- .travis-deps.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.travis-deps.sh') diff --git a/.travis-deps.sh b/.travis-deps.sh index 9fd21cc57..1404fe19f 100755 --- a/.travis-deps.sh +++ b/.travis-deps.sh @@ -27,6 +27,13 @@ if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then echo "Using cached SDL2" fi + export DEBIAN_FRONTEND=noninteractive + # Amazing placebo security + curl http://apt.llvm.org/llvm-snapshot.gpg.key | sudo -E apt-key add - + sudo -E add-apt-repository "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main" + sudo -E apt-get -yq update + sudo -E apt-get -yq install clang-format-3.9 + elif [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update brew install qt5 sdl2 dylibbundler -- cgit v1.2.3