travis: Workaround another broken apt repo
This works around another travis NO_PUBKEY regression.
This commit is contained in:
@@ -12,8 +12,9 @@ dist: xenial
|
|||||||
apt:
|
apt:
|
||||||
update: true
|
update: true
|
||||||
before_install:
|
before_install:
|
||||||
# workaround broken travis NO_PUBKEY error
|
# workaround broken travis NO_PUBKEY errors
|
||||||
- if [ -e /etc/apt/sources.list.d/rabbitmq_rabbitmq-server.list ]; then sudo rm -f /etc/apt/sources.list.d/rabbitmq_rabbitmq-server.list; fi
|
- if [ -e /etc/apt/sources.list.d/rabbitmq_rabbitmq-server.list ]; then sudo rm -f /etc/apt/sources.list.d/rabbitmq_rabbitmq-server.list; fi
|
||||||
|
- if [ -e /etc/apt/sources.list.d/github_git-lfs.list ]; then sudo rm -f /etc/apt/sources.list.d/github_git-lfs.list; fi
|
||||||
# as per a number of comments online, this might mitigate some flaky fails...
|
# as per a number of comments online, this might mitigate some flaky fails...
|
||||||
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6; fi
|
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6; fi
|
||||||
# apt update tends to be flaky in travis, retry up to 3 times on failure
|
# apt update tends to be flaky in travis, retry up to 3 times on failure
|
||||||
|
|||||||
Reference in New Issue
Block a user