Merge branch 'sdl2-branch' of github.com:chocolate-doom/chocolate-doom into sdl2-branch

This commit is contained in:
Simon Howard 2017-09-04 23:55:26 -04:00
commit b5db4a7536
2 changed files with 16 additions and 1 deletions

10
.travis.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
set -e
if [ "$ANALYZE" = "true" ] ; then
cppcheck --error-exitcode=1 -j2 -UTESTING -Iopl -Isrc -Isrc/setup opl pcsound src textscreen > /dev/null
else
./autogen.sh
make
make install DESTDIR=/tmp/whatever
make dist
fi

View file

@ -7,16 +7,21 @@ compiler: gcc
sudo: required
dist: trusty
env:
- ANALYZE=false
- ANALYZE=true
addons:
apt:
packages:
- cppcheck
- libsdl2-dev
- libsdl2-mixer-dev
- libsdl2-net-dev
- libsdl2-image-dev
- libsamplerate0-dev
script: ./autogen.sh && make && make install DESTDIR=/tmp/whatever && make dist
script: ./.travis.sh
branches:
only: