2015-10-03 08:35:25 -04:00
|
|
|
language: c
|
2016-03-31 03:18:22 -04:00
|
|
|
sudo: false
|
|
|
|
os:
|
|
|
|
- osx
|
|
|
|
- linux
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2017-02-14 08:22:49 -05:00
|
|
|
- yasm
|
2016-03-31 03:18:22 -04:00
|
|
|
- texinfo
|
2015-10-03 08:58:24 -04:00
|
|
|
script:
|
2017-02-14 10:24:59 -05:00
|
|
|
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
|
2017-10-14 13:23:57 -04:00
|
|
|
brew update;
|
2017-02-14 10:24:59 -05:00
|
|
|
brew install yasm;
|
|
|
|
fi
|
|
|
|
# On OSX, gcc is a wrapper around clang, so use gcc from homebrew
|
|
|
|
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]] && [[ "${CC}" == "gcc" ]]; then
|
|
|
|
brew install gcc48;
|
|
|
|
export CC=gcc-4.8;
|
|
|
|
export CXX=g++-4.8;
|
|
|
|
fi
|
2016-03-31 03:18:22 -04:00
|
|
|
- $CC --version
|
2017-02-14 10:01:21 -05:00
|
|
|
- ./autogen.sh
|
2015-10-03 08:58:24 -04:00
|
|
|
- ./configure && make && make check
|