.travis.yml 1.4 KB
Newer Older
L
Lars Schneider 已提交
1 2
language: c

3 4 5 6
cache:
  directories:
    - $HOME/travis-cache

L
Lars Schneider 已提交
7 8 9 10 11 12 13 14 15 16
os:
  - linux
  - osx

compiler:
  - clang
  - gcc

addons:
  apt:
17 18
    sources:
    - ubuntu-toolchain-r-test
L
Lars Schneider 已提交
19 20
    packages:
    - language-pack-is
21
    - git-svn
22
    - apache2
23
    - gcc-8
L
Lars Schneider 已提交
24

L
Lars Schneider 已提交
25 26
matrix:
  include:
27
    - env: jobname=GETTEXT_POISON
28 29 30 31
      os: linux
      compiler:
      addons:
      before_install:
32
    - env: jobname=Windows
33 34 35 36 37 38 39 40 41
      os: linux
      compiler:
      addons:
      before_install:
      script:
        - >
          test "$TRAVIS_REPO_SLUG" != "git/git" ||
          ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD)
      after_failure:
42
    - env: jobname=Linux32
43
      os: linux
44
      compiler:
45
      addons:
46 47 48
      services:
        - docker
      before_install:
49
      script: ci/run-linux32-docker.sh
50
    - env: jobname=StaticAnalysis
51 52 53 54 55 56 57
      os: linux
      compiler:
      addons:
        apt:
          packages:
          - coccinelle
      before_install:
58
      script: ci/run-static-analysis.sh
59
      after_failure:
60
    - env: jobname=Documentation
L
Lars Schneider 已提交
61
      os: linux
62
      compiler:
L
Lars Schneider 已提交
63 64 65 66 67 68 69 70 71
      addons:
        apt:
          packages:
          - asciidoc
          - xmlto
      before_install:
      script: ci/test-documentation.sh
      after_failure:

72
before_install: ci/install-dependencies.sh
73
script: ci/run-build-and-tests.sh
74
after_failure: ci/print-test-failures.sh
L
Lars Schneider 已提交
75 76 77

notifications:
  email: false