summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/tests/lib/shunit2/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluent-bit/tests/lib/shunit2/.travis.yml')
-rw-r--r--src/fluent-bit/tests/lib/shunit2/.travis.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/fluent-bit/tests/lib/shunit2/.travis.yml b/src/fluent-bit/tests/lib/shunit2/.travis.yml
new file mode 100644
index 000000000..55aeda473
--- /dev/null
+++ b/src/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