mirror of
https://github.com/cuberite/libevent.git
synced 2025-08-04 01:36:23 -04:00
travis: add builds without debug mode into matrix
To cover compilation with this flag, since brew for example uses it by default.
This commit is contained in:
parent
a068f2e594
commit
3e56da238c
@ -3,7 +3,9 @@ env:
|
|||||||
- EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS=""
|
- EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS=""
|
||||||
- EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__DISABLE_OPENSSL=ON"
|
- EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__DISABLE_OPENSSL=ON"
|
||||||
- EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__DISABLE_THREAD_SUPPORT=ON"
|
- EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__DISABLE_THREAD_SUPPORT=ON"
|
||||||
- EVENT_BUILD_METHOD=autotools
|
- EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__DISABLE_DEBUG_MODE=ON"
|
||||||
|
- EVENT_BUILD_METHOD=autotools EVENT_CONFIGURE_OPTIONS=""
|
||||||
|
- EVENT_BUILD_METHOD=autotools EVENT_CONFIGURE_OPTIONS="--disable-debug-mode"
|
||||||
language: c
|
language: c
|
||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
@ -12,7 +14,7 @@ install:
|
|||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -y -qq zlib1g-dev libssl-dev build-essential automake autoconf cmake
|
- sudo apt-get install -y -qq zlib1g-dev libssl-dev build-essential automake autoconf cmake
|
||||||
script:
|
script:
|
||||||
- if [ "$EVENT_BUILD_METHOD" = "autotools" ]; then ./autogen.sh && ./configure && make && make verify; fi
|
- if [ "$EVENT_BUILD_METHOD" = "autotools" ]; then ./autogen.sh && ./configure $EVENT_CONFIGURE_OPTIONS && make && make verify; fi
|
||||||
- if [ "$EVENT_BUILD_METHOD" = "cmake" ]; then mkdir build && cd build && cmake .. $EVENT_CMAKE_OPTIONS && cmake --build . && CTEST_OUTPUT_ON_FAILURE=1 cmake --build . --target verify; fi
|
- if [ "$EVENT_BUILD_METHOD" = "cmake" ]; then mkdir build && cd build && cmake .. $EVENT_CMAKE_OPTIONS && cmake --build . && CTEST_OUTPUT_ON_FAILURE=1 cmake --build . --target verify; fi
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user