userdiff style: declare patterns with consistent style
[git] / .travis.yml
1 language: c
2
3 cache:
4   directories:
5     - $HOME/travis-cache
6
7 os:
8   - linux
9   - osx
10
11 osx_image: xcode10.1
12
13 compiler:
14   - clang
15   - gcc
16
17 matrix:
18   include:
19     - env: jobname=linux-gcc-default
20       os: linux
21       compiler:
22       addons:
23       before_install:
24     - env: jobname=linux-gcc-4.8
25       os: linux
26       dist: trusty
27       compiler:
28     - env: jobname=Linux32
29       os: linux
30       compiler:
31       addons:
32       services:
33         - docker
34       before_install:
35       script: ci/run-docker.sh
36     - env: jobname=linux-musl
37       os: linux
38       compiler:
39       addons:
40       services:
41         - docker
42       before_install:
43       script: ci/run-docker.sh
44     - env: jobname=StaticAnalysis
45       os: linux
46       compiler:
47       script: ci/run-static-analysis.sh
48       after_failure:
49     - env: jobname=Documentation
50       os: linux
51       compiler:
52       script: ci/test-documentation.sh
53       after_failure:
54
55 before_install: ci/install-dependencies.sh
56 script: ci/run-build-and-tests.sh
57 after_failure: ci/print-test-failures.sh
58
59 notifications:
60   email: false