blob: c83707371b04f5ecdf6657aceb3a48db7d8347a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
include:
template: Security/License-Management.gitlab-ci.yml
.go-mod-cache:
variables:
GOPATH: $CI_PROJECT_DIR/.GOPATH
before_script:
- mkdir -p .GOPATH
cache:
paths:
- .GOPATH/pkg/mod/
.tests:
extends: .go-mod-cache
script:
- echo "Running all tests without daemonizing..."
- make test
- echo "Running just the acceptance tests daemonized (tmpdir)...."
- TEST_DAEMONIZE=tmpdir make acceptance
- echo "Running just the acceptance tests daemonized (inplace)...."
- TEST_DAEMONIZE=inplace make acceptance
artifacts:
paths:
- bin/gitlab-pages
license_management:
variables:
LICENSE_MANAGEMENT_SETUP_CMD: go mod vendor
verify:
extends: .go-mod-cache
image: golang:1.11
script:
- make setup
- make verify
- make cover
artifacts:
paths:
- coverage.html
test:1.11:
extends: .tests
image: golang:1.11
test:1.12:
extends: .tests
image: golang:1.12
test:1.13:
extends: .tests
image: golang:1.13
|