aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 1fed4f8e6d8f32ee62a4ce98aac33f9a522ef92b (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
language: c

matrix:
  include:
    - os: linux
      compiler: gcc
    - os: linux
      compiler: gcc
      env:
        - EXTRA_FLAGS=-m32
      addons:
        apt:
          packages:
          - gcc-multilib
    - os: osx
      compiler: clang
    - os: osx
      compiler: clang
      env:
        - EXTRA_FLAGS=-m32

before_script:
  - autoconf
  - ./configure${EXTRA_FLAGS:+ CC="$CC $EXTRA_FLAGS"}
  - make -j3
  - make -j3 tests

script:
  - make check