27 lines
523 B
YAML
27 lines
523 B
YAML
language: c
|
|
sudo: false
|
|
os:
|
|
- osx
|
|
- linux
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- yasm
|
|
- texinfo
|
|
script:
|
|
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
|
|
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
|
|
- $CC --version
|
|
- ./autogen.sh
|
|
- ./configure && make && make check
|