From 735b1fadc3e7359cbce2651f88fc1592c1518130 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 6 Apr 2019 09:49:35 -0700 Subject: [PATCH] Only update key on Linux --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bf44ee60..16f578bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -126,7 +126,7 @@ matrix: before_script: - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then export CXX=${COMPILER}; fi - if [[ "${BUILD}" != "Doc" ]]; then ${CXX} --version; fi + - if [[ "${BUILD}" == "Doc" ]]; then sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157; fi script: - - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 - support/travis-build.py