mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-09-09 23:41:14 -04:00
Optimize travis build steps
This commit is contained in:
parent
6e6f8d1a6f
commit
f803236e85
@ -15,8 +15,6 @@ before_install:
|
|||||||
- 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:
|
||||||
- cmake . -DSDL2PP_ENABLE_GUI_TEST=OFF -DCMAKE_INSTALL_PREFIX=`pwd`/_prefix -DSDL2PP_WITH_WERROR=YES -DSDL2PP_CXXSTD=$SDL2PP_CXXSTD
|
- cmake . -DSDL2PP_ENABLE_GUI_TEST=OFF -DCMAKE_INSTALL_PREFIX=`pwd`/_prefix -DSDL2PP_WITH_WERROR=YES -DSDL2PP_CXXSTD=$SDL2PP_CXXSTD
|
||||||
- make
|
- make && make test && make install
|
||||||
- make test
|
|
||||||
- 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
|
- if make doxygen 2>&1 | grep 'warning:'; then false; else true; fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user