mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-04 03:15:59 -04:00
Check for doxygen warnings in travis build
This commit is contained in:
parent
feaec6838b
commit
6aca3cd256
@ -8,8 +8,9 @@ env:
|
|||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository --yes ppa:zoogie/sdl2-snapshots
|
- sudo add-apt-repository --yes ppa:zoogie/sdl2-snapshots
|
||||||
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
|
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
|
||||||
|
- sudo add-apt-repository --yes ppa:libreoffice/libreoffice-4-2
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -qq cmake libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev g++-4.8 cppcheck
|
- sudo apt-get install -qq cmake libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev g++-4.8 cppcheck doxygen
|
||||||
- sudo sed -i -e 's|friend class hash|friend struct hash|' /usr/include/c++/4.8/bits/stl_bvector.h
|
- 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
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
|
||||||
script:
|
script:
|
||||||
@ -18,3 +19,4 @@ script:
|
|||||||
- make test
|
- make test
|
||||||
- make install
|
- make install
|
||||||
- cppcheck -I . --enable=style,performance,portability,information,missingInclude --error-exitcode=2 SDL2pp
|
- cppcheck -I . --enable=style,performance,portability,information,missingInclude --error-exitcode=2 SDL2pp
|
||||||
|
- if make doxygen 2>&1 | grep 'warning:'; then false; else true; fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user