28 lines
339 B
YAML
28 lines
339 B
YAML
sudo: required
|
|
|
|
language: go
|
|
|
|
services:
|
|
- docker
|
|
|
|
go:
|
|
- 1.12.1
|
|
|
|
env:
|
|
- GO111MODULE=on
|
|
|
|
install: true
|
|
|
|
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
|