Skip to content

Commit 20456c8

Browse files
author
Shlomi Noach
committed
manual fix to branch
1 parent 98f6ddf commit 20456c8

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ This PR [briefly explain what is does]
1818
- [ ] contributed code is using same conventions as original code
1919
- [ ] code is formatted via `gofmt` (please avoid `goimports`)
2020
- [ ] code is built via `./build.sh`
21+
- [ ] code is tested via `./test.sh`

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: go
2+
3+
go:
4+
- 1.6
5+
- tip
6+
7+
script: ./test.sh

test.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
retval=0
4+
5+
for testsuite in base mysql sql
6+
do
7+
pushd go/${testsuite} > /dev/null;
8+
go test $*;
9+
[ $? -ne 0 ] && retval=1
10+
popd > /dev/null;
11+
done
12+
13+
exit $retval

0 commit comments

Comments
 (0)