]> granicus.if.org Git - libevent/commitdiff
travis-ci: measure build/tests time
authorAzat Khuzhin <azat@libevent.org>
Mon, 13 Jan 2020 19:24:54 +0000 (22:24 +0300)
committerAzat Khuzhin <azat@libevent.org>
Mon, 13 Jan 2020 19:26:37 +0000 (22:26 +0300)
.travis.yml

index f8c50cf3355462e9d1a7ae77da08059141aefe0d..c9dfc865a0d25279e88c2ddb75613ec7fc465e84 100644 (file)
@@ -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