diff --git a/.travis.yml b/.travis.yml index 4db05e61..79881443 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 -