add fmt and test to CI
language: go
go:
-- 1.11.x
+ - 1.12.x
install: make bootstrap
cache:
- directories:
@@ -10,6 +10,10 @@ branches:
only:
- master
- "/^v([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:\\-(rc\\.[0-9]+)*)?$/"
+
+script:
+ - make fmt
+ - make test
env:
global:
- GO111MODULE=on
