Skip to content

Commit af87f77

Browse files
committed
Update for cirrus-ci
2 parents 4d97d9c + 3428c44 commit af87f77

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

.cirrus.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,28 @@
11
container:
2-
image: golang:latest
2+
image: golang:1.13
33

44
env:
55
GOPROXY: https://proxy.golang.org
66

77
test_task:
88
test_script:
9+
- apt-get update
10+
- apt-get install -y asciidoc docbook-utils docbook-xml libxml2-utils xsltproc
11+
- GOPATH=/tmp/go
12+
- PATH="$PATH:$GOPATH/bin"
13+
- mkdir -p $GOPATH/src/github.com/cea-hpc
14+
- mv /tmp/cirrus-ci-build $GOPATH/src/github.com/cea-hpc/sshproxy
15+
- cd $GOPATH/src/github.com/cea-hpc/sshproxy
916
- make
1017
- make get-deps check
18+
19+
docker_builder:
20+
depends_on:
21+
- test
22+
build_script:
23+
- GOPATH=/tmp/go
24+
- PATH="$PATH:$GOPATH/bin"
25+
- mkdir -p $GOPATH/src/github.com/cea-hpc
26+
- mv /tmp/cirrus-ci-build $GOPATH/src/github.com/cea-hpc/sshproxy
27+
- cd $GOPATH/src/github.com/cea-hpc/sshproxy
1128
- make test

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ check:
8989
$(GO) vet $(TEST)
9090
staticcheck ./...
9191
staticcheck $(TEST)
92+
$(GO) test -failfast -race -count=1 -timeout=10s ./...
9293

9394
test:
94-
$(GO) test -failfast -race -count=1 -timeout=10s ./...
9595
cd test && bash ./run.sh
9696

9797
clean:

README.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
sshproxy
22
========
33

4+
image:https://api.cirrus-ci.com/github/cea-hpc/sshproxy.svg["Build Status", link="https://travis-ci.org/cea-hpc/sshproxy"]
5+
46
What is sshproxy?
57
-----------------
68

0 commit comments

Comments
 (0)