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

3 4
sudo: false

5 6 7 8
cache:
  directories:
    - $HOME/travis-cache

L
Lars Schneider 已提交
9 10 11 12 13 14 15 16 17 18 19 20
os:
  - linux
  - osx

compiler:
  - clang
  - gcc

addons:
  apt:
    packages:
    - language-pack-is
21
    - git-svn
22
    - apache2
L
Lars Schneider 已提交
23

L
Lars Schneider 已提交
24 25
matrix:
  include:
26
    - env: jobname=GETTEXT_POISON
27 28 29 30
      os: linux
      compiler:
      addons:
      before_install:
31
    - env: jobname=Windows
32 33 34 35 36 37 38 39 40 41
      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:
42
    - env: jobname=Linux32
43
      os: linux
44
      compiler:
45 46 47 48
      services:
        - docker
      before_install:
      before_script:
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
      before_script:
59
      script: ci/run-static-analysis.sh
60
      after_failure:
61
    - env: jobname=Documentation
L
Lars Schneider 已提交
62
      os: linux
63
      compiler:
L
Lars Schneider 已提交
64 65 66 67 68 69
      addons:
        apt:
          packages:
          - asciidoc
          - xmlto
      before_install:
70
      before_script:
L
Lars Schneider 已提交
71 72 73
      script: ci/test-documentation.sh
      after_failure:

74 75 76 77
before_install: ci/install-dependencies.sh
before_script: ci/run-build.sh
script: ci/run-tests.sh
after_failure: ci/print-test-failures.sh
L
Lars Schneider 已提交
78 79 80

notifications:
  email: false