File: .travis.sh

package info (click to toggle)
golang-github-pkg-xattr 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 116 kB
  • sloc: sh: 9; makefile: 3
file content (14 lines) | stat: -rwxr-xr-x 266 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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