Setup Travis CI.
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..7d1ffa1
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,26 @@
+language: bash
+
+env:
+  - SHUNIT_COLOR='always'
+
+script:
+  # Run shFlags unit tests.
+  - ./shflags_test.sh
+
+os:
+  - linux
+  - osx
+
+addons:
+  apt:
+    packages:
+      - ksh
+      - zsh
+
+# matrix:
+#   include:
+#     - os: linux
+#       script:
+#         # Run the source through ShellCheck (http://www.shellcheck.net).
+#         - shellcheck gen_test_results.sh shunit2 shunit2_test_*.sh
+#         - shellcheck -s sh shunit2_test_helpers