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

11 12
osx_image: xcode10.1

L
Lars Schneider 已提交
13 14 15 16
compiler:
  - clang
  - gcc

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

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

notifications:
  email: false