mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #7274 from 0xc0170/fix_travis_mongodb
Travis: fix mongodb key expired errorpull/7305/head
commit
443e37b00c
|
@ -30,6 +30,8 @@ before_install:
|
||||||
# Setup ppa to make sure arm-none-eabi-gcc is correct version
|
# Setup ppa to make sure arm-none-eabi-gcc is correct version
|
||||||
- sudo add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
|
- sudo add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
|
||||||
- sudo add-apt-repository -y ppa:deadsnakes/ppa
|
- sudo add-apt-repository -y ppa:deadsnakes/ppa
|
||||||
|
# Fix for "The following signatures were invalid: KEYEXPIRED 1515625755" failed". See https://github.com/travis-ci/travis-ci/issues/9037
|
||||||
|
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
|
||||||
# Loop until update succeeds (timeouts can occur)
|
# Loop until update succeeds (timeouts can occur)
|
||||||
- travis_retry $(! sudo apt-get update 2>&1 |grep Failed)
|
- travis_retry $(! sudo apt-get update 2>&1 |grep Failed)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue