Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit b4cce3f

Browse files
committed
Migrate to Gitlab CI
Signed-off-by: Valdas Petrulis <[email protected]>
1 parent 7b6a963 commit b4cce3f

File tree

3 files changed

+28
-50
lines changed

3 files changed

+28
-50
lines changed

.gitlab-ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
stages:
2+
- test
3+
4+
variables:
5+
GO_PACKAGE: github.com/mysteriumnetwork/go-openvpn
6+
GIT_CLONE_PATH: /home/gitlab-runner/go/src/$GO_PACKAGE
7+
GOFLAGS: "-count=1" # Supersedes GOCACHE=off, see: https://github.com/golang/go/issues/29378#issuecomment-449383809
8+
9+
checks:
10+
stage: test
11+
tags: [go]
12+
script: go run mage.go -v Check
13+
14+
test:
15+
stage: test
16+
tags: [go]
17+
script: go run mage.go Test
18+
19+
check-binaries:
20+
stage: test
21+
tags: [go]
22+
script: ./check-all.sh
23+
24+
go-report:
25+
stage: test
26+
tags: [go]
27+
script: go run mage.go GoReport

.travis.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# go-openvpn
22

3-
[![Build Status](https://travis-ci.com/mysteriumnetwork/go-openvpn.svg?branch=master)](https://travis-ci.com/mysteriumnetwork/go-openvpn)
3+
[![pipeline status](https://gitlab.com/mysteriumnetwork/go-openvpn/badges/master/pipeline.svg)](https://gitlab.com/mysteriumnetwork/go-openvpn/pipelines)
44
[![Go Report Card](https://goreportcard.com/badge/github.com/mysteriumnetwork/go-openvpn)](https://goreportcard.com/report/github.com/mysteriumnetwork/go-openvpn)
55

66
Go gettable library for wrapping openvpn functionality in go way.

0 commit comments

Comments
 (0)