hashicorp / go-multierror

A Go (golang) package for representing a list of errors as a single error.
Mozilla Public License 2.0
2.3k stars 123 forks source link

Fix failing tests #23

Closed mwhooker closed 5 years ago

mwhooker commented 5 years ago

Travis wasn't set up to use go modules. Let's set GO111MODULE=on and fix the errors.

hashicorp-cla commented 5 years ago

CLA assistant check
All committers have signed the CLA.

jefferai commented 5 years ago

FWIW you can also put that in the travis.yml env section.

mwhooker commented 5 years ago

@jefferai good call. I am blindly copying dave cheney here https://dave.cheney.net/2018/07/16/using-go-modules-with-travis-ci

jefferai commented 5 years ago

It works either way, but if you like, you can blindly copy this: https://github.com/hashicorp/vault/blob/master/.travis.yml#L40 :-)