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