From 4f7bd2dbfd12bfda77488baf46c2f7648c9f1999 Mon Sep 17 00:00:00 2001 From: costan Date: Fri, 9 Mar 2018 07:42:50 -0800 Subject: [PATCH] Update CI configurations. Bump GCC and Clang on Travis and remove Visual Studio 2015 from AppVeyor. --- .appveyor.yml | 5 +---- .travis.yml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 2ed49f9..f1b3e20 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -11,9 +11,6 @@ environment: - JOB: Visual Studio 2017 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 CMAKE_GENERATOR: Visual Studio 15 2017 - - JOB: Visual Studio 2015 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - CMAKE_GENERATOR: Visual Studio 14 2015 platform: - x86 @@ -38,4 +35,4 @@ build_script: - cd .. test_script: - - out\%CONFIGURATION%\snappy_unittest \ No newline at end of file + - out\%CONFIGURATION%\snappy_unittest diff --git a/.travis.yml b/.travis.yml index 8816edb..7f3e5df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,27 +30,27 @@ addons: # https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json sources: - ubuntu-toolchain-r-test - - llvm-toolchain-trusty-4.0 + - llvm-toolchain-trusty-5.0 packages: - cmake - - gcc-6 - - g++-6 - - clang-4.0 + - gcc-7 + - g++-7 + - clang-5.0 install: # Travis doesn't have a DSL for installing homebrew packages yet. Status tracked # in https://github.com/travis-ci/travis-ci/issues/5377 # The Travis VM image for Mac already has a link at /usr/local/include/c++, -# causing Homebrew's gcc@6 installation to error out. This was reported to +# causing Homebrew's gcc@7 installation to error out. This was reported to # Homebrew maintainers at https://github.com/Homebrew/brew/issues/1742 and # removing the link emerged as a workaround. - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; if [ -L /usr/local/include/c++ ]; then rm /usr/local/include/c++; fi; - brew install gcc@6; + brew install gcc@7; fi -# /usr/bin/gcc is stuck to old versions by on both Linux and OSX. -- if [ "$CXX" = "g++" ]; then export CXX="g++-6" CC="gcc-6"; fi +# /usr/bin/gcc is stuck to old versions on both Linux and OSX. +- if [ "$CXX" = "g++" ]; then export CXX="g++-7" CC="gcc-7"; fi - echo ${CC} - echo ${CXX} - ${CXX} --version @@ -63,4 +63,4 @@ before_script: - cd .. script: -- build/snappy_unittest \ No newline at end of file +- build/snappy_unittest