From b30717eb234247a7ca5825c77f0f55d7cf8727c8 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Mon, 13 Jan 2020 22:24:54 +0300 Subject: [PATCH] travis-ci: measure build/tests time --- .travis.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index f8c50cf3..c9dfc865 100644 --- a/.travis.yml +++ b/.travis.yml @@ -117,10 +117,10 @@ addons: script: - if [ "$EVENT_BUILD_METHOD" = "autotools" ]; then - ./autogen.sh && - ./configure $EVENT_CONFIGURE_OPTIONS && - make && - make -j $JOBS verify; + ./autogen.sh; + ./configure $EVENT_CONFIGURE_OPTIONS; + time make -j $JOBS; + time make -j $JOBS verify; fi - if [ "$EVENT_BUILD_METHOD" = "cmake" ]; then export @@ -137,7 +137,8 @@ script: cmake --build .; sudo python3 ../test-export/test-export.py shared; else - cmake --build . --target verify; + time cmake --build .; + time cmake --build . --target verify; fi fi - if [ "$TOOL" == "doxygen" ]; then -- 2.40.0