script/cibuild for Travis.
diff --git a/.travis.yml b/.travis.yml
index 9c37aef..74885fe 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,6 +5,7 @@
   - 1.1
   - 1.2
   - tip
+script: script/cibuild
 after_success:
   - go get code.google.com/p/go.tools/cmd/cover
   - go get github.com/axw/gocov/gocov
diff --git a/script/cibuild b/script/cibuild
new file mode 100755
index 0000000..1cb389e
--- /dev/null
+++ b/script/cibuild
@@ -0,0 +1,5 @@
+#!/bin/bash
+#
+# Test script to be invoked by Travis.
+
+exec script/unittest -v