Add support for travis, coveralls and appveyor

This commit also adds further tests.
This commit is contained in:
Lawrence Woodman
2016-07-05 14:53:08 +01:00
parent d97d87340b
commit 1364d3816f
9 changed files with 215 additions and 44 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# This script is used to run the tests under linux as root
#
# Usage:
# linux-test-su.sh goPath goBinPath
#
# goPath is the standard GOPATH
# goBinPath is the location of go
#
# Typical usage:
# sudo ./linux-test-su.sh $GOPATH `which go`
export GOPATH=$1
export GOROOT=`dirname $(dirname $2)`
$GOROOT/bin/go test -v -tags su ./...