github.com/zhaoxuat/libvirt-go-xml@v6.3.1-0.20200612053919-a025f1d30c41+incompatible/.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:master
    13    script:
    14      - /check-dco
    15    except:
    16      variables:
    17        - $CI_PROJECT_NAMESPACE == 'libvirt'
    18  
    19  .go_build: &go_build
    20    stage: build
    21    script:
    22      - go test -timeout 10m -tags xmlroundtrip -v
    23  
    24  
    25  go_1_10:
    26    <<: *go_build
    27    image: golang:1.10
    28  
    29  go_1_11:
    30    <<: *go_build
    31    image: golang:1.11
    32  
    33  go_1_12:
    34    <<: *go_build
    35    image: golang:1.12
    36  
    37  go_1_13:
    38    <<: *go_build
    39    image: golang:1.13
    40  
    41  go_1_14:
    42    <<: *go_build
    43    image: golang:1.14