Add ability to build gotgt without cgo

Signed-off-by: Chris Koch <chrisko@google.com>
This commit is contained in:
Chris Koch
2019-07-29 12:46:41 -07:00
parent 5f8aa301ff
commit f92573fd28
4 changed files with 29 additions and 1 deletions

View File

@@ -30,6 +30,10 @@ before_script:
script:
- cd ${TRAVIS_BUILD_DIR}
# Try a build without cgo first
- make build-nocgo
- make clean
# Now build with cgo and cephstore.
- make
- hack/verify-gofmt.sh
- go test -v ./pkg/...