test ci
This commit is contained in:
parent
063e5c0329
commit
45f5f46c86
@ -1,17 +1,15 @@
|
||||
image: golang:1.15.3
|
||||
|
||||
stages:
|
||||
- test
|
||||
- build
|
||||
|
||||
test:
|
||||
stage: test
|
||||
image: golang:1.15.3
|
||||
script:
|
||||
- go test ./...
|
||||
|
||||
build:
|
||||
stage: build
|
||||
image: docker:latest
|
||||
services:
|
||||
- docker:dind
|
||||
script:
|
||||
docker build . -t llehouerou/dnsupdater:latest
|
||||
- go build ./cmd/dnsupdater
|
||||
|
Loading…
Reference in New Issue
Block a user