Andrew Sy Kim af9875d477 Use dep for managing vendor/ (#395)
* vendor changes from dep init

* add Gopkg.lock and Gopkg.toml

* delete glide.lock and glide.yaml

* build gobgp from vendor
2018-04-16 23:10:47 +05:30

13 lines
285 B
Bash
Executable File

#!/usr/bin/env bash
set -e
echo "" > coverage.txt
for d in $(go list ./... | grep -v vendor); do
go test -coverprofile=profile.out -coverpkg=github.com/json-iterator/go $d
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
done