added Travis CI file
This commit is contained in:
parent
a427dbc26f
commit
46e7a3711a
1 changed files with 16 additions and 0 deletions
16
.travis.yml
Normal file
16
.travis.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
language: c
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
||||
|
||||
install:
|
||||
- wget "https://github.com/alfredh/pytools/raw/master/ccheck.py"
|
||||
|
||||
script:
|
||||
- make EXTRA_CFLAGS=-Werror
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then python2 ccheck.py ; fi
|
Loading…
Add table
Reference in a new issue