Travis test on osx, linux, gcc and clang

This commit is contained in:
Isuru Fernando 2016-03-31 12:48:22 +05:30
parent 67d98ac417
commit 9f6f0818c7

View File

@ -1,7 +1,19 @@
language: c
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq texinfo
sudo: false
os:
- osx
- linux
compiler:
- gcc
- clang
addons:
apt:
packages:
- texinfo
script:
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]] && [[ "${CC}" == "gcc" ]]; then
export CC=gcc-4.8;
export CXX=g++-4.8;
fi
- $CC --version
- ./configure && make && make check