From 9614fef4b9d027e1be9dbb766ed98ee5cb09df39 Mon Sep 17 00:00:00 2001 From: Zion Date: Fri, 26 Jan 2018 10:18:09 -0800 Subject: [PATCH] Use clang 5.0 in travis (#4115) * Use clang 5.0 in travis * Change clang-5.0 to just clang --- .travis.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index f214250f13..ff2a37de08 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,9 +26,6 @@ git: submodules: false before_install: - - if [ "$CC" = "clang" ]; then - export CXX="clang++-4.0" CC="clang-4.0"; - fi; - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5" CXXFLAGS="-Wno-format-security"; fi; @@ -65,7 +62,7 @@ before_script: - cmake .. -DCMAKE_INSTALL_PREFIX=/usr -G Ninja; - ninja - # AppImage generation - - if [ -n "$UPLOAD_URL" ] && [ "$TRAVIS_BRANCH" = "master" ] && [ "$CC" = "clang-4.0" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then + - if [ -n "$UPLOAD_URL" ] && [ "$TRAVIS_BRANCH" = "master" ] && [ "$CC" = "clang" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then export LD_LIBRARY_PATH=~/Qt/5.10.0/gcc_64/lib; DESTDIR=appdir ninja install ; find appdir/ ; find ../bin ; @@ -111,7 +108,8 @@ addons: - libc6-dev - llvm-4.0 - llvm-4.0-dev - - clang-4.0 + # Clang 5.0 is now bundled in travis, so we no longer need the ppa version. + #- clang-4.0 - libedit-dev - g++-5 - gcc-5