mpir/.travis.yml

27 lines
533 B
YAML
Raw Normal View History

2015-10-03 08:35:25 -04:00
language: c
sudo: false
os:
- osx
- linux
compiler:
- gcc
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
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
2018-02-07 18:23:31 -05:00
brew install gcc73;
export CC=gcc-7.3;
export CXX=g++-7.3;
2017-02-14 10:24:59 -05:00
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