re/.travis.yml

24 lines
521 B
YAML
Raw Normal View History

2016-09-17 10:00:01 +02:00
language: c
os:
- linux
- osx
before_install:
2016-09-17 11:41:24 +02:00
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get -qq update;
sudo apt-get -y install libssl-dev;
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update;
brew install openssl;
brew link openssl --force;
fi
2016-09-17 10:00:01 +02:00
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