VERY experimental Nintendo Switch 2 emulator
C++
Travis: Use a stable version of clang-format
Yuri Kunde Schlesnercd529f7414a3
diff --git a/.travis-build.sh b/.travis-build.shindex 3310bacc5c..df6e236b69 100755--- a/.travis-build.sh+++ b/.travis-build.sh@@ -12,7 +12,7 @@ fi# Only run clang-format on Linux because we don't have 4.0 on OS X imagesif [ "$TRAVIS_OS_NAME" = "linux" ]; then# Default clang-format points to default 3.5 version one- CLANG_FORMAT=clang-format-4.0+ CLANG_FORMAT=clang-format-3.9$CLANG_FORMAT --versionif [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; thendiff --git a/.travis-deps.sh b/.travis-deps.shindex 9fd21cc570..1404fe19f9 100755--- a/.travis-deps.sh+++ b/.travis-deps.sh@@ -27,6 +27,13 @@ if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; thenecho "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" ]; thenbrew updatebrew install qt5 sdl2 dylibbundlerdiff --git a/.travis.yml b/.travis.ymlindex a9e7aadd22..cc34e039ce 100644--- a/.travis.yml+++ b/.travis.yml@@ -3,7 +3,7 @@ language: cppmatrix:include:- os: linux- sudo: true+ sudo: requireddist: trusty- os: osxsudo: false@@ -17,7 +17,6 @@ addons:apt:sources:- ubuntu-toolchain-r-test- - llvm-toolchain-precisepackages:- gcc-6- g++-6@@ -25,7 +24,6 @@ addons:- libqt5opengl5-dev- xorg-dev- lib32stdc++6 # For CMake- - clang-format-4.0cache:directories: