Skip to content

Commit 14c6ac9

Browse files
author
Cruz Monrreal
authored
Merge pull request #9289 from 0xc0170/test_travis
travis: add keys for ubuntu - workaround
2 parents a9ce916 + 3305565 commit 14c6ac9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ before_install:
4646
# Setup ppa to make sure arm-none-eabi-gcc is correct version
4747
- sudo add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
4848
- sudo add-apt-repository -y ppa:deadsnakes/ppa
49+
# workaround for https://travis-ci.community/t/then-sudo-apt-get-update-failed-public-key-is-not-available-no-pubkey-6b05f25d762e3157-in-ubuntu-xenial/1728
50+
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 762E3157
4951
# Loop until update succeeds (timeouts can occur)
5052
- travis_retry $(! sudo apt-get update 2>&1 |grep Failed)
5153

0 commit comments

Comments
 (0)