Skip to content

Commit 1cb6c9b

Browse files
author
Owen
committed
Try to fix travis failure on doxygen stage
The Travis log included the following lines: W: GPG error: http://packages.cloud.google.com/apt cloud-sdk-trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6A030B21BA07F4FB W: The repository 'http://packages.cloud.google.com/apt cloud-sdk-trusty InRelease' is not signed. W: There is no public key available for the following key IDs: 6A030B21BA07F4FB W: http://ppa.launchpad.net/couchdb/stable/ubuntu/dists/trusty/Release.gpg: Signature by key 15866BAFD9BCC4F3C1E0DFC7D69548E1C17EAB57 uses weak digest algorithm (SHA1) travis_fold:end:apt-get.diagnostics �[0K �[31;1mThe command "sudo -E apt-get -yq --no-install-suggests --no-install-recommends $TRAVIS_APT_OPTS install cmake google-cloud-sdk graphviz" failed and exited with 100 during .�[0m
1 parent 93bc946 commit 1cb6c9b

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.travis.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,14 @@ jobs:
4949
env:
5050
NAME: "DOXYGEN-CHECK"
5151
DOXYGEN_VERSION: "1.8.14"
52-
addons:
53-
apt:
54-
sources:
55-
- sourceline: 'deb http://packages.cloud.google.com/apt cloud-sdk-trusty main'
56-
key_url: 'https://packages.cloud.google.com/apt/doc/apt-key.gpg'
57-
packages:
58-
- cmake
59-
- google-cloud-sdk
60-
- graphviz
6152
cache:
6253
directories:
6354
- ${TRAVIS_BUILD_DIR}/doxygen/build/bin
55+
before_install:
56+
- curl -sSL "https://packages.cloud.google.com/apt/doc/apt-key.gpg" | sudo -E apt-key add -
57+
- echo "deb http://packages.cloud.google.com/apt cloud-sdk-trusty main" | sudo tee -a /etc/apt/sources.list > /dev/null
58+
- sudo apt-get update --option Acquire::Retries=100 --option Acquire::http::Timeout="60"
59+
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install cmake google-cloud-sdk graphviz
6460
install:
6561
- |
6662
# Build doxygen if it is not in Travis cache

0 commit comments

Comments
 (0)