mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
travis-ci: measure build/tests time
This commit is contained in:
parent
fbe6f7d92a
commit
b30717eb23
11
.travis.yml
11
.travis.yml
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user