libvirt.org/go/libvirtxml@v1.10003.0/.gitlab-ci.yml (about) 1 2 stages: 3 - prebuild 4 - build 5 6 # Check that all commits are signed-off for the DCO. 7 # Skip on "libvirt" namespace, since we only need to run 8 # this test on developer's personal forks from which 9 # merge requests are submitted 10 check-dco: 11 stage: prebuild 12 image: registry.gitlab.com/libvirt/libvirt-ci/check-dco:latest 13 script: 14 - /check-dco 15 except: 16 variables: 17 - $CI_PROJECT_NAMESPACE == 'libvirt' 18 19 go-fmt: 20 stage: prebuild 21 image: registry.gitlab.com/libvirt/libvirt-ci/go-fmt:latest 22 script: 23 - /go-fmt 24 artifacts: 25 paths: 26 - go-fmt.patch 27 expire_in: 1 week 28 when: on_failure 29 30 .go_build: &go_build 31 stage: build 32 script: 33 - go test -timeout 10m -tags xmlroundtrip -v 34 35 36 go_1_11: 37 <<: *go_build 38 image: golang:1.11 39 40 go_1_16: 41 <<: *go_build 42 image: golang:1.16