summaryrefslogtreecommitdiff
path: root/libs/cargs/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'libs/cargs/.travis.yml')
-rw-r--r--libs/cargs/.travis.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/libs/cargs/.travis.yml b/libs/cargs/.travis.yml
new file mode 100644
index 0000000..31f1511
--- /dev/null
+++ b/libs/cargs/.travis.yml
@@ -0,0 +1,32 @@
+language: c
+
+os:
+- linux
+- osx
+- freebsd
+
+dist: focal
+
+addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - gcc-7
+ - cmake
+
+compiler:
+- gcc
+- clang
+
+before_script:
+- mkdir build
+- cd build
+- cmake -DENABLE_TESTS=1 -DENABLE_COVERAGE=1 ..
+
+script:
+ - make
+ - make test
+
+after_success:
+- bash <(curl -s https://codecov.io/bash)