From 9ea5c03371840e4100773e5f96bcb59ecd2c2842 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Wed, 9 May 2018 13:46:04 -0400 Subject: [PATCH] travis: Enable apt updates on builds This used to happen by default, and travis changed the default. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 99a4c47f..dca556c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,9 @@ go: go_import_path: github.com/purpleidea/mgmt sudo: true dist: trusty +# travis requires that you update manually, and provides this key to trigger it +apt: + update: true before_install: # 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