Mike Hommey | 43d4d7c | 2016-06-10 00:17:19 +0900 | [diff] [blame] | 1 | language: c |
2 | |||||
3 | matrix: | ||||
4 | include: | ||||
5 | - os: linux | ||||
6 | compiler: gcc | ||||
7 | - os: linux | ||||
8 | compiler: gcc | ||||
9 | env: | ||||
10 | - EXTRA_FLAGS=-m32 | ||||
11 | addons: | ||||
12 | apt: | ||||
13 | packages: | ||||
14 | - gcc-multilib | ||||
15 | - os: osx | ||||
16 | compiler: clang | ||||
17 | - os: osx | ||||
18 | compiler: clang | ||||
19 | env: | ||||
20 | - EXTRA_FLAGS=-m32 | ||||
21 | |||||
22 | before_script: | ||||
23 | - autoconf | ||||
24 | - ./configure${EXTRA_FLAGS:+ CC="$CC $EXTRA_FLAGS"} | ||||
25 | - make -j3 | ||||
26 | - make -j3 tests | ||||
27 | |||||
28 | script: | ||||
29 | - make check |