diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..4684b3f4f3 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,81 @@ +language: c + +sudo: false + +cache: + directories: + - $HOME/travis-cache + +os: + - linux + - osx + +compiler: + - clang + - gcc + +addons: + apt: + packages: + - language-pack-is + - git-svn + - apache2 + +matrix: + include: + - env: jobname=GETTEXT_POISON + os: linux + compiler: + addons: + before_install: + - env: jobname=Windows + os: linux + compiler: + addons: + before_install: + before_script: + script: + - > + test "$TRAVIS_REPO_SLUG" != "git/git" || + ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD) + after_failure: + - env: jobname=Linux32 + os: linux + compiler: + addons: + services: + - docker + before_install: + before_script: + script: ci/run-linux32-docker.sh + - env: jobname=StaticAnalysis + os: linux + compiler: + addons: + apt: + packages: + - coccinelle + before_install: + before_script: + script: ci/run-static-analysis.sh + after_failure: + - env: jobname=Documentation + os: linux + compiler: + addons: + apt: + packages: + - asciidoc + - xmlto + before_install: + before_script: + script: ci/test-documentation.sh + after_failure: + +before_install: ci/install-dependencies.sh +before_script: ci/run-build.sh +script: ci/run-tests.sh +after_failure: ci/print-test-failures.sh + +notifications: + email: false |