2019-01-18 01:50:10 +00:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
language: go
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
go:
|
2019-03-20 23:27:40 +00:00
|
|
|
- 1.12.1
|
2019-01-18 01:50:10 +00:00
|
|
|
|
2019-05-03 11:03:39 +00:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
|
|
|
|
|
|
|
install: true
|
|
|
|
|
2019-01-18 01:50:10 +00:00
|
|
|
before_install:
|
|
|
|
- go get -u golang.org/x/lint/golint
|
|
|
|
|
|
|
|
script:
|
|
|
|
- make
|
|
|
|
- make unit
|
|
|
|
- make lint
|
|
|
|
- make container
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
|
|
|
|
- make push && make push-latest
|