mpir/.travis.yml

27 lines
523 B
YAML
Raw Normal View History

2015-10-03 08:35:25 -04:00
language: c
sudo: false
os:
- osx
- linux
compiler:
- gcc
- clang
addons:
apt:
packages:
2017-02-14 08:22:49 -05:00
- yasm
- texinfo
2015-10-03 08:58:24 -04:00
script:
2017-02-14 10:24:59 -05:00
- 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
2017-02-14 10:01:21 -05:00
- ./autogen.sh
2015-10-03 08:58:24 -04:00
- ./configure && make && make check