travis-ci: measure build/tests time

This commit is contained in:
Azat Khuzhin 2020-01-13 22:24:54 +03:00
parent fbe6f7d92a
commit b30717eb23

View File

@ -117,10 +117,10 @@ addons:
script: script:
- if [ "$EVENT_BUILD_METHOD" = "autotools" ]; then - if [ "$EVENT_BUILD_METHOD" = "autotools" ]; then
./autogen.sh && ./autogen.sh;
./configure $EVENT_CONFIGURE_OPTIONS && ./configure $EVENT_CONFIGURE_OPTIONS;
make && time make -j $JOBS;
make -j $JOBS verify; time make -j $JOBS verify;
fi fi
- if [ "$EVENT_BUILD_METHOD" = "cmake" ]; then - if [ "$EVENT_BUILD_METHOD" = "cmake" ]; then
export export
@ -137,7 +137,8 @@ script:
cmake --build .; cmake --build .;
sudo python3 ../test-export/test-export.py shared; sudo python3 ../test-export/test-export.py shared;
else else
cmake --build . --target verify; time cmake --build .;
time cmake --build . --target verify;
fi fi
fi fi
- if [ "$TOOL" == "doxygen" ]; then - if [ "$TOOL" == "doxygen" ]; then