aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorKate Ward <kate.ward@forestent.com>2017-10-16 23:35:14 +0200
committerKate Ward <kate.ward@forestent.com>2017-10-16 23:35:14 +0200
commit347bac1c92c1c1ca56cae587c8f7832343f22077 (patch)
tree913fd7fb7a0b17018b34503ebbc1b46a05b53f21 /.travis.yml
parent3355cdea10e4d413c30b6ef5a5528be3575c53de (diff)
downloadshflags-347bac1c92c1c1ca56cae587c8f7832343f22077.tar.gz
Setup Travis CI.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml26
1 files changed, 26 insertions, 0 deletions
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