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
|
language: c
|
||||||
before_install:
|
sudo: false
|
||||||
- sudo apt-get update -qq
|
os:
|
||||||
- sudo apt-get install -qq texinfo
|
- osx
|
||||||
|
- linux
|
||||||
|
compiler:
|
||||||
|
- gcc
|
||||||
|
- clang
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- texinfo
|
||||||
script:
|
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
|
- ./configure && make && make check
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user