Commit | Line | Data |
---|---|---|
f1969359 HE |
1 | os: |
2 | - linux | |
3 | - osx | |
4 | env: | |
5 | - WIDTHOPT=-m64 | |
6 | - WIDTHOPT=-m32 | |
7 | language: c | |
8 | compiler: | |
9 | - gcc | |
10 | - clang | |
11 | matrix: | |
12 | exclude: | |
13 | - os: osx | |
14 | compiler: gcc # gcc seems to be an symlink to clang | |
15 | sudo: true | |
16 | before_install: | | |
17 | if [ "$TRAVIS_OS_NAME" = linux -a "$WIDTHOPT" = -m32 ]; then | |
18 | sudo apt-get install -y gcc-multilib | |
19 | fi | |
20 | script: # CC is exported by travis | |
21 | - make WIDTHOPT=$WIDTHOPT -C build/unix/ test |