aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 7f574c9e9062c3e05dcb09917d04cf775a63264a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
sudo: required
language: c

matrix:
  include:
    - compiler: gcc
      env:
        - TARGET=distcheck
      addons:
        apt:
          packages:
            - realpath
            - libcmocka-dev
    - compiler: clang
      env:
        - TARGET=distcheck
      addons:
        apt:
          packages:
            - realpath
            - libcmocka-dev
    - os: osx
      compiler: clang
      env:
        - TARGET=distcheck
    - compiler: gcc
      env:
        - TARGET=valgrind
      addons:
        apt:
          packages:
            - realpath
            - libcmocka-dev
            - valgrind
    - compiler: clang
      env:
        - TARGET=valgrind
      addons:
        apt:
          packages:
            - realpath
            - libcmocka-dev
            - valgrind
    - compiler: clang
      env:
        - TARGET=clang-analyzer
      addons:
        apt:
          packages:
            - realpath
            - libcmocka-dev
    - compiler: gcc
      env:
        - TARGET=dist-srpm
      addons:
        apt:
          packages:
            - realpath
            - libcmocka-dev
            - rpm
    - compiler: gcc
      env:
        - TARGET=static
      addons:
        apt:
          packages:
            - realpath
            - libcmocka-dev
    - compiler: gcc
      env:
        - TARGET=make-embedded
      addons:
        apt:
          packages:
            - realpath
            - libcmocka-dev
    - compiler: gcc
      env:
        - TARGET=win32
      addons:
        apt:
          packages:
            - realpath
            - libcmocka-dev
            - gcc-mingw-w64-i686
    - compiler: gcc
      env:
        - TARGET=win64
      addons:
        apt:
          packages:
            - realpath
            - libcmocka-dev
            - gcc-mingw-w64-x86-64

install:
  - gem install ronn
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install cmocka; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install xz; fi

before_script:
  - git fetch --unshallow
  - ./autogen.sh

script:
  - ./.travis/test-run.sh