summaryrefslogtreecommitdiffstats
path: root/fluent-bit/tests/lib/shunit2/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fluent-bit/tests/lib/shunit2/.travis.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/fluent-bit/tests/lib/shunit2/.travis.yml b/fluent-bit/tests/lib/shunit2/.travis.yml
new file mode 100644
index 00000000..55aeda47
--- /dev/null
+++ b/fluent-bit/tests/lib/shunit2/.travis.yml
@@ -0,0 +1,29 @@
+language: bash
+
+env:
+ - SHUNIT_COLOR='always'
+
+script:
+ # Execute the unit tests.
+ - ./test_runner
+
+os:
+ - linux
+ - osx
+
+addons:
+ apt:
+ packages:
+ - ksh
+ - zsh
+
+matrix:
+ include:
+ - os: linux
+ script:
+ # Run the source through ShellCheck (http://www.shellcheck.net).
+ - shellcheck shunit2 *_test.sh
+ - shellcheck -s sh shunit2_test_helpers
+ - os: linux
+ # Support Ubuntu Trusty through Apr 2019.
+ dist: trusty