1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-30 11:46:24 +00:00
restic/vendor/github.com/pkg/xattr/.travis.sh
Alexander Neumann bff635bc5f Update dependencies, enable pruning for vendor/
So, `dep` got an nice new feature to remove tests and non-go files from
`vendor/`, and this brings the size of the vendor directory from ~300MiB
down to ~20MiB. We don that now.
2018-08-01 21:32:15 +02:00

14 lines
240 B
Bash
Executable file

#!/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 -covermode=atomic