summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml60
1 files changed, 60 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..05f3e3f
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,60 @@
+language: c
+
+cache:
+ directories:
+ - $HOME/travis-cache
+
+os:
+ - linux
+ - osx
+
+osx_image: xcode10.1
+
+compiler:
+ - clang
+ - gcc
+
+matrix:
+ include:
+ - env: jobname=GETTEXT_POISON
+ os: linux
+ compiler:
+ addons:
+ before_install:
+ - env: jobname=linux-gcc-4.8
+ os: linux
+ dist: trusty
+ compiler:
+ - env: jobname=Linux32
+ os: linux
+ compiler:
+ addons:
+ services:
+ - docker
+ before_install:
+ script: ci/run-docker.sh
+ - env: jobname=linux-musl
+ os: linux
+ compiler:
+ addons:
+ services:
+ - docker
+ before_install:
+ script: ci/run-docker.sh
+ - env: jobname=StaticAnalysis
+ os: linux
+ compiler:
+ script: ci/run-static-analysis.sh
+ after_failure:
+ - env: jobname=Documentation
+ os: linux
+ compiler:
+ script: ci/test-documentation.sh
+ after_failure:
+
+before_install: ci/install-dependencies.sh
+script: ci/run-build-and-tests.sh
+after_failure: ci/print-test-failures.sh
+
+notifications:
+ email: false