Add test script to run both unit and example tests

This commit is contained in:
Thomas Pelletier
2013-12-10 14:50:52 +01:00
parent 40a44dc51f
commit bbe45c63f2
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -1,4 +1,5 @@
language: go
script: "./test.sh"
go:
- 1.0
- 1.1
Executable
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
# Run basic go unit tests
go test -v ./...
# Run example-based toml tests
cd test_program && ./go-test.sh