We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98f6ddf commit 20456c8Copy full SHA for 20456c8
.github/PULL_REQUEST_TEMPLATE.md
@@ -18,3 +18,4 @@ This PR [briefly explain what is does]
18
- [ ] contributed code is using same conventions as original code
19
- [ ] code is formatted via `gofmt` (please avoid `goimports`)
20
- [ ] code is built via `./build.sh`
21
+- [ ] code is tested via `./test.sh`
.travis.yml
@@ -0,0 +1,7 @@
1
+language: go
2
+
3
+go:
4
+ - 1.6
5
+ - tip
6
7
+script: ./test.sh
test.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+retval=0
+for testsuite in base mysql sql
+do
+ 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