Run run CI in parallel
sudo: required
+
services:
- docker
-language: go
-
-go:
- - "1.12.x"
+# Selecting C as the language keeps the container to a minimum footprint. All
+# go-specifc code is run in build container.
+language: c
branches:
only:
- master
-# This moves Kubernetes specific config files.
-env:
-- CHANGE_MINIKUBE_NONE_USER=true GO111MODULE=on
-
cache:
directories:
- .go/pkg/mod/cache
- .go/cache
+jobs:
+ include:
+ - stage: test
script:
- make docs
+ - stage: test
+ before_script:
+ - make start-kind
+ script:
- make go-mod-download
- make build
-- make start-kind
- make test
-
after_script:
- make stop-kind
