fastd-exporter/.gitlab-ci.yml

30 lines
523 B
YAML
Raw Permalink Normal View History

2017-04-02 22:43:05 +02:00
.build_template: &build
stage: test
script:
- mkdir -p ${GOPATH}/src/git.darmstadt.ccc.de/ffda
- ln -rs ../fastd-exporter ${GOPATH}/src/git.darmstadt.ccc.de/ffda/
- cd ${GOPATH}/src/git.darmstadt.ccc.de/ffda/fastd-exporter
- go fmt
- git diff --exit-code
- go get ./...
- go build
- ls -lah fastd-exporter
test:1.7:
<<: *build
image: golang:1.7
test:1.8:
<<: *build
image: golang:1.8
2018-05-23 15:14:11 +02:00
test:1.9:
<<: *build
image: golang:1.9
test:1.10:
<<: *build
image: golang:1.10