parent
1077cea4e7
commit
fd381c703f
1 changed files with 19 additions and 5 deletions
24
.travis.yml
24
.travis.yml
|
@ -1,12 +1,26 @@
|
||||||
language: c
|
language: c
|
||||||
|
|
||||||
before_install:
|
os:
|
||||||
- sudo apt-get -qq update
|
- linux
|
||||||
- sudo apt-get -y install libssl-dev
|
- osx
|
||||||
|
|
||||||
|
compiler:
|
||||||
|
- clang
|
||||||
|
- gcc
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
libssl-dev
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- wget "https://github.com/alfredh/pytools/raw/master/ccheck.py"
|
- wget "https://github.com/alfredh/pytools/raw/master/ccheck.py"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make EXTRA_CFLAGS=-Werror
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
- python2 ccheck.py
|
make EXTRA_CFLAGS=-Werror CCACHE=;
|
||||||
|
fi
|
||||||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
|
make EXTRA_CFLAGS="-I/usr/local/opt/openssl/include -Werror" EXTRA_LFLAGS="-L/usr/local/opt/openssl/lib" CCACHE=;
|
||||||
|
fi
|
||||||
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then python2 ccheck.py ; fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue