mpir/.travis.yml

29 lines
567 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
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:30:54 -05:00
brew install gcc;
2018-02-07 18:43:03 -05:00
brew link --overwrite gcc;
2018-02-07 18:30:54 -05:00
export CC=gcc;
export CXX=g++;
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