.travis.yml 1.1 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
os:
  - linux
  - osx

compiler:
  - clang
  - gcc

L
Lars Schneider 已提交
15 16
matrix:
  include:
17
    - env: jobname=GIT_TEST_GETTEXT_POISON
18 19 20 21
      os: linux
      compiler:
      addons:
      before_install:
22
    - env: jobname=Windows
23 24 25 26 27 28 29 30 31
      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:
32
    - env: jobname=Linux32
33
      os: linux
34
      compiler:
35
      addons:
36 37 38
      services:
        - docker
      before_install:
39
      script: ci/run-linux32-docker.sh
40
    - env: jobname=StaticAnalysis
41 42
      os: linux
      compiler:
43
      script: ci/run-static-analysis.sh
44
      after_failure:
45
    - env: jobname=Documentation
L
Lars Schneider 已提交
46
      os: linux
47
      compiler:
L
Lars Schneider 已提交
48 49 50
      script: ci/test-documentation.sh
      after_failure:

51
before_install: ci/install-dependencies.sh
52
script: ci/run-build-and-tests.sh
53
after_failure: ci/print-test-failures.sh
L
Lars Schneider 已提交
54 55 56

notifications:
  email: false