Add test script to run both unit and example tests
diff --git a/.travis.yml b/.travis.yml
index 17a616a..ea2966c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,5 @@
 language: go
+script: "./test.sh"
 go:
     - 1.0
     - 1.1
diff --git a/test.sh b/test.sh
new file mode 100755
index 0000000..aa829ee
--- /dev/null
+++ b/test.sh
@@ -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