Update travis to run make build

Ensure all packages can be built, even those not yet imported by binaries.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
Derek McGowan
2017-05-30 17:02:25 -07:00
parent a4b2e580f2
commit dfce91854e
10 changed files with 38 additions and 14 deletions

View File

@@ -6,9 +6,9 @@ import (
"os"
"path/filepath"
"strconv"
"syscall"
"testing"
"github.com/containerd/containerd/mount"
"github.com/stretchr/testify/assert"
)
@@ -21,7 +21,7 @@ func init() {
// Unmount unmounts a given mountPoint and sets t.Error if it fails
func Unmount(t *testing.T, mountPoint string) {
t.Log("unmount", mountPoint)
if err := syscall.Unmount(mountPoint, 0); err != nil {
if err := mount.Unmount(mountPoint, 0); err != nil {
t.Error("Could not umount", mountPoint, err)
}
}