Skip to content

Commit

Permalink
manual fix to branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Shlomi Noach committed Aug 12, 2016
1 parent 98f6ddf commit 20456c8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: go

go:
- 1.6
- tip

script: ./test.sh
13 changes: 13 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 20456c8

Please sign in to comment.