mpir/.travis.yml
2018-02-07 23:30:54 +00:00

27 lines
523 B
YAML

language: c
sudo: false
os:
- osx
- linux
compiler:
- gcc
addons:
apt:
packages:
- yasm
- texinfo
script:
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
brew update;
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 gcc;
export CC=gcc;
export CXX=g++;
fi
- $CC --version
- ./autogen.sh
- ./configure && make && make check