forked from cea-hpc/sshproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
33 lines (28 loc) · 823 Bytes
/
.cirrus.yml
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
task:
env:
GOPROXY: https://proxy.golang.org
matrix:
VERSION: 1.21
VERSION: 1.22
container:
image: golang:$VERSION
name: test-$VERSION
test_script:
- apt-get update
- apt-get install -y asciidoc docbook-utils docbook-xml libxml2-utils xsltproc
- GOPATH=/tmp/go
- PATH="$PATH:$GOPATH/bin"
- mkdir -p $GOPATH/src/github.com/cea-hpc
- mv /tmp/cirrus-ci-build $GOPATH/src/github.com/cea-hpc/sshproxy
- cd $GOPATH/src/github.com/cea-hpc/sshproxy
- make
- make get-deps check
docker_builder:
name: docker
build_script:
- GOPATH=/tmp/go
- PATH="$PATH:$GOPATH/bin"
- mkdir -p $GOPATH/src/github.com/cea-hpc
- mv /tmp/cirrus-ci-build $GOPATH/src/github.com/cea-hpc/sshproxy
- cd $GOPATH/src/github.com/cea-hpc/sshproxy
- make test