restic/vendor/github.com/pkg/xattr/.travis.sh

15 lines
266 B
Bash
Raw Normal View History

#!/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
2019-01-27 21:07:57 +01:00
go test -v -race -coverprofile=coverage.txt -covermode=atomic