sum7
/
yaja
Archived
1
0
Fork 0
This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
yaja/.gitlab-ci.yml

35 lines
697 B
YAML

image: golang:latest
stages:
- build
- test
before_script:
- mkdir -p /go/src/git.sum7.eu/genofire/
- cp -R /builds/genofire/yaja /go/src/git.sum7.eu/genofire/yaja
- cd /go/src/git.sum7.eu/genofire/yaja
- go get -d -t ./...
build-my-project:
stage: build
script:
- go install git.sum7.eu/genofire/yaja
artifacts:
paths:
- /go/bin/yaja
test-my-project:
stage: test
script:
- ./.ci/check-gofmt
- ./.ci/check-testfiles
- ./.ci/check-misspell
- go test $(go list ./... | grep -v /vendor/) -v -coverprofile .testCoverage.txt
artifacts:
paths:
- .testCoverage.txt
test-race-my-project:
stage: test
script:
- go test -race ./...