mirror of
https://github.com/minio/mc.git
synced 2025-11-12 01:02:26 +03:00
minio server simplified its build system, this change borrows the same technique to `mc` as well. This PR fixes build messages and overall behavior of our builds on travis and appveyor.
13 lines
248 B
Bash
Executable File
13 lines
248 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
echo "" > coverage.txt
|
|
|
|
for d in $(go list ./...); do
|
|
go test -coverprofile=profile.out -covermode=atomic $d
|
|
if [ -f profile.out ]; then
|
|
cat profile.out >> coverage.txt
|
|
rm profile.out
|
|
fi
|
|
done
|