-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
28 lines (23 loc) · 788 Bytes
/
.gitlab-ci.yml
File metadata and controls
28 lines (23 loc) · 788 Bytes
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
# https://git.sc.uni-leipzig.de/miku/span/-/ci/lint
# The first thing is to choose what Docker image will be used to run the CI.
# Head to the Docker Hub to choose the right image for your project.
image: golang:1.25.7-trixie
# cache:
# paths:
# - /apt-cache
# - /go/src/github.com
# - /go/src/golang.org
# - /go/src/google.golang.org
# - /go/src/gopkg.in
stages:
- test
unit_tests:
stage: test
before_script:
- go version
script:
- DEBIAN_FRONTEND=noninteractive apt-get update --yes && apt-get install --yes zstd
- HTTP_PROXY=proxy.uni-leipzig.de:3128 HTTPS_PROXY=proxy.uni-leipzig.de:3128 curl -v https://heise.de > /dev/null
- HTTP_PROXY=proxy.uni-leipzig.de:3128 HTTPS_PROXY=proxy.uni-leipzig.de:3128 make test
tags:
- docker