ddnet/.travis.yml

22 lines
353 B
YAML
Raw Normal View History

language: c++
sudo: false
dist: trusty
2017-07-26 02:57:14 +00:00
os:
- linux
- osx
addons:
apt:
packages:
- libfreetype6-dev
- libsdl2-dev
script:
2017-07-26 02:57:14 +00:00
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install sdl2; fi
- mkdir build
- cd build
- cmake -Werror=dev ..
- make everything
env:
global:
- CFLAGS="-Wdeclaration-after-statement -Werror"
- CXXFLAGS="-Werror"