aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: b4a9153fc1ff1b320960797f194155144b0bf6d1 (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
sudo: required
language: c
compiler: gcc

addons:
  apt:
    packages:
      - gcc-mingw-w64-i686
      - gcc-mingw-w64-x86-64
      - libcmocka-dev
      - rpm
      - valgrind

env:
  - TARGET=valgrind
  - TARGET=distcheck
  - TARGET=dist-srpm
  - TARGET=github-lambda
  - TARGET=make-embedded
  - TARGET=win32
  - TARGET=win64

matrix:
  include:
    - compiler: clang
      env: TARGET=valgrind
    - compiler: clang
      env: TARGET=distcheck
    - compiler: clang
      env: TARGET=clang-analyzer
    - compiler: clang
      env: TARGET=distcheck
      os: osx

install: gem install ronn

before_script:
  - git fetch --unshallow
  - ./autogen.sh
  - 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

script:
  - ./.travis/build.sh
  - ./.travis/deploy.sh