Only update key on Linux

This commit is contained in:
Victor Zverovich 2019-04-06 09:49:35 -07:00
parent 3c531b735b
commit 735b1fadc3

View File

@ -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