test build against golang 1.9 and 1.10

This commit is contained in:
Martin Weinelt 2018-05-23 15:14:11 +02:00
parent 39b21226c4
commit 19cee0fc60
No known key found for this signature in database
GPG key ID: BD4AA0528F63F17E

View file

@ -1,9 +1,6 @@
.build_template: &build .build_template: &build
stage: test stage: test
# before_script:
# - # install depds etc...
script: script:
- mkdir -p ${GOPATH}/src/git.darmstadt.ccc.de/ffda - mkdir -p ${GOPATH}/src/git.darmstadt.ccc.de/ffda
- ln -rs ../fastd-exporter ${GOPATH}/src/git.darmstadt.ccc.de/ffda/ - ln -rs ../fastd-exporter ${GOPATH}/src/git.darmstadt.ccc.de/ffda/
@ -18,8 +15,15 @@ test:1.7:
<<: *build <<: *build
image: golang:1.7 image: golang:1.7
test:1.8: test:1.8:
<<: *build <<: *build
image: golang:1.8 image: golang:1.8
test:1.9:
<<: *build
image: golang:1.9
test:1.10:
<<: *build
image: golang:1.10