Migrate CI to travis
- Add travis build file - Use golang alpine image - Clean scripts a little bit - Disable CGO for test-integration >_<
This commit is contained in:
parent
3a08655b06
commit
91b699fbe0
7 changed files with 63 additions and 19 deletions
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
export DEST=.
|
||||
|
@ -6,5 +7,4 @@ export DEST=.
|
|||
TESTFLAGS="$TESTFLAGS -test.timeout=30m -check.v"
|
||||
|
||||
cd integration
|
||||
go test $TESTFLAGS
|
||||
|
||||
CGO_ENABLED=0 go test $TESTFLAGS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue