mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 10:55:57 -04:00
Make travis build verbose
This commit is contained in:
parent
be5bc9d1de
commit
e3feb2f7a4
@ -3,8 +3,8 @@ compiler:
|
||||
- gcc
|
||||
- clang
|
||||
env:
|
||||
- SDL2PP_CXXSTD=c++11
|
||||
- SDL2PP_CXXSTD=c++1y
|
||||
- CXXSTD=c++11
|
||||
- CXXSTD=c++1y
|
||||
before_install:
|
||||
- sudo add-apt-repository --yes ppa:zoogie/sdl2-snapshots
|
||||
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
|
||||
@ -14,8 +14,8 @@ before_install:
|
||||
- sudo sed -i -e 's|friend class hash|friend struct hash|' /usr/include/c++/4.8/bits/stl_bvector.h
|
||||
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
|
||||
script:
|
||||
- cmake . -DSDL2PP_ENABLE_LIVE_TESTS=OFF -DCMAKE_INSTALL_PREFIX=`pwd`.prefix -DSDL2PP_WITH_WERROR=YES -DSDL2PP_CXXSTD=$SDL2PP_CXXSTD
|
||||
- make && make test && make install
|
||||
- cmake . -DSDL2PP_ENABLE_LIVE_TESTS=OFF -DCMAKE_INSTALL_PREFIX=`pwd`.prefix -DSDL2PP_WITH_WERROR=YES -DSDL2PP_CXXSTD=$CXXSTD
|
||||
- VERBOSE=1 make && make test && make install
|
||||
- cppcheck -I . --enable=style,performance,portability,information,missingInclude --error-exitcode=2 SDL2pp
|
||||
- "if make doxygen 2>&1 | grep 'warning:'; then echo 'FATAL: doxygen warnings!'; false; fi"
|
||||
- "if git ls-files --others --exclude-standard | grep ''; then echo 'FATAL: incomplete .gitignore'; false; fi"
|
||||
|
Loading…
x
Reference in New Issue
Block a user