Skip to content

Commit

Permalink
Reinstalls package ca-certificates before building in Travis (#845)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
nkinkade authored Oct 19, 2021
1 parent 633ea36 commit 736983c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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

0 comments on commit 736983c

Please sign in to comment.