Permalink
Browse files

manual fix to branch

  • Loading branch information...
1 parent 98f6ddf commit 20456c894e794f7775c7e42314407a4c514a248a @shlomi-noach shlomi-noach committed Aug 12, 2016
Showing with 21 additions and 0 deletions.
  1. +1 −0 .github/PULL_REQUEST_TEMPLATE.md
  2. +7 −0 .travis.yml
  3. +13 −0 test.sh
@@ -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`
View
@@ -0,0 +1,7 @@
+language: go
+
+go:
+ - 1.6
+ - tip
+
+script: ./test.sh
View
@@ -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.