forked from TrueCloudLab/restic
b9f0f031b6
Closes #2129
14 lines
266 B
Bash
14 lines
266 B
Bash
#!/bin/sh -e
|
|
|
|
echo "Building for Linux..."
|
|
GOOS=linux go build
|
|
|
|
echo "Building for Darwin..."
|
|
GOOS=darwin go build
|
|
|
|
echo "Building for FreeBSD..."
|
|
GOOS=freebsd go build
|
|
|
|
echo "Running tests..."
|
|
go vet
|
|
go test -v -race -coverprofile=coverage.txt -covermode=atomic
|