2
0
mirror of https://github.com/namecoin/ncdns synced 2024-11-16 00:13:01 +00:00

Cirrus: Add Fedora Unit Tests task

This commit is contained in:
Jeremy Rand 2021-06-17 04:17:19 +00:00
parent a0eb8a7034
commit 3db1ee0c33
No known key found for this signature in database
GPG Key ID: FD7550C2EB800711

View File

@ -77,9 +77,21 @@ task:
task:
name: "Unit Tests $CONTAINER_NAME$MODULES_NAME"
alias: Unit Tests
install_script:
- apt-get update
- apt-get install -y libcap-dev
matrix:
- env:
GO_VERSION: latest
CONTAINER_NAME: "Go $GO_VERSION"
container:
image: golang:$GO_VERSION
install_script:
- apt-get update
- apt-get install -y libcap-dev
- env:
CONTAINER_NAME: "Fedora latest"
container:
image: fedora:latest
install_script:
- dnf install -y golang libcap-devel
path_script:
- source testdata/move_to_gopath.bash
matrix:
@ -113,12 +125,6 @@ task:
- mkdir -p $(go env GOPATH)/src/github.com/hlandau
- cd $(go env GOPATH)/src/github.com/hlandau
- git clone https://github.com/hlandau/nctestsuite.git
matrix:
- env:
GO_VERSION: latest
CONTAINER_NAME: "Go $GO_VERSION"
container:
image: golang:$GO_VERSION
test_script:
- cd $(go env GOPATH)/src/github.com/"$CIRRUS_REPO_FULL_NAME"
- go install -tags "$GOX_TAGS" -v ./...