From 736983c5f861c22273bc8045f33a5fc9d8fa42df Mon Sep 17 00:00:00 2001 From: nkinkade Date: Tue, 19 Oct 2021 13:45:00 -0500 Subject: [PATCH] Reinstalls package ca-certificates before building in Travis (#845) * Reinstalls ca-certificates before install/build * Removes -y option to apt-get reinstall ca-certificates * Fixes apt-get command to reinstall ca-certificates * Reinstalls ca-certificates using Travis apt addon Also updates the Travis worker distro to Focal. --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ddbf7b84..fe7f9637 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,13 @@ -language: go +dist: focal +language: go go: - 1.13 +addons: + apt: + update: true + packages: ca-certificates # Unconditionally place the repo at GOPATH/src/${go_import_path} to support # forks. @@ -160,3 +165,4 @@ before_install: - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 - sudo apt-get -qq update - sudo apt-get install -y apache2-utils jq +