Skip to content

Commit b4cce3f

Browse files
committed
Migrate to Gitlab CI
Signed-off-by: Valdas Petrulis <petrulis.valdas@gmail.com>
1 parent 7b6a963 commit b4cce3f

File tree

3 files changed

+28
-50
lines changed

3 files changed

+28
-50
lines changed

.gitlab-ci.yml

+27
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

-49
This file was deleted.

README.md

+1-1
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)