manual fix to branch

This commit is contained in:
Shlomi Noach 2016-08-12 16:21:29 +02:00
parent 98f6ddf00c
commit 20456c894e
3 changed files with 21 additions and 0 deletions

View File

@ -18,3 +18,4 @@ This PR [briefly explain what is does]
- [ ] contributed code is using same conventions as original code
- [ ] code is formatted via `gofmt` (please avoid `goimports`)
- [ ] code is built via `./build.sh`
- [ ] code is tested via `./test.sh`

7
.travis.yml Normal file
View File

@ -0,0 +1,7 @@
language: go
go:
- 1.6
- tip
script: ./test.sh

13
test.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
retval=0
for testsuite in base mysql sql
do
pushd go/${testsuite} > /dev/null;
go test $*;
[ $? -ne 0 ] && retval=1
popd > /dev/null;
done
exit $retval