Travis test on osx, linux, gcc and clang
This commit is contained in:
parent
67d98ac417
commit
9f6f0818c7
20
.travis.yml
20
.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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user