diff options
Diffstat (limited to 'vendor/0xacab.org/leap/obfsvpn/.gitlab-ci.yml')
-rw-r--r-- | vendor/0xacab.org/leap/obfsvpn/.gitlab-ci.yml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/vendor/0xacab.org/leap/obfsvpn/.gitlab-ci.yml b/vendor/0xacab.org/leap/obfsvpn/.gitlab-ci.yml index 91814f3..9d54c04 100644 --- a/vendor/0xacab.org/leap/obfsvpn/.gitlab-ci.yml +++ b/vendor/0xacab.org/leap/obfsvpn/.gitlab-ci.yml @@ -3,6 +3,7 @@ stages: - test - validate + - integration-test test: image: golang:alpine @@ -18,7 +19,7 @@ validate: image: golang:alpine stage: test script: | - apk add build-base git + apk add build-base git jq curl go version go env @@ -31,10 +32,20 @@ validate: gofmt -s -l . && [ -z "$(gofmt -s -l .)" ] # See: https://staticcheck.io/docs/checks - staticcheck -checks inherit,ST1000,ST1016,ST1020,ST1021,ST1022,ST1023 ./... + staticcheck -checks inherit,ST1016,ST1020,ST1021,ST1022,ST1023 ./... # gosec does not handle modules correctly. # See: https://github.com/securego/gosec/issues/622 gosec ./... + make check-yawning-obfs4 go mod tidy git diff --exit-code -- go.mod go.sum + +integration-test: + image: debian + stage: test + script: + - apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends docker docker.io make + - make integration + tags: + - linux |