*: move to go1.12 and go modules

This commit is contained in:
paulfantom 2019-06-20 13:50:10 +02:00
parent 8c4001831d
commit a47edfe5a9
No known key found for this signature in database
GPG key ID: 12AE0185401674E7
6 changed files with 338 additions and 1272 deletions

View file

@ -1,17 +1,20 @@
language: go
go:
- '1.10'
- '1.12'
# blech, Travis downloads with capitals in DirectXMan12, which confuses go
go_import_path: github.com/directxman12/k8s-prometheus-adapter
script: make verify
script: make verify && git diff --exit-code
sudo: required
services:
- docker
env:
- GO111MODULE=on
deploy:
- provider: script
script: bash .travis-deploy.sh