File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -92,10 +92,18 @@ script:
9292 - ls -l /usr/local/lib/
9393 - ls -l /usr/lib/
9494 - if [ "$TRAVIS_OS_NAME" = "linux" ]; then cd ../src/; cppcheck --error-exitcode=1 .; cd ../build; fi
95- - if [ "$PERFORMANCE" = "select" ]; then cd examples; ./benchmark_select 8080 $(nproc) & fi;
95+ - |
96+ if [ "$PERFORMANCE" = "select" ]; then
97+ cd examples
98+ ./benchmark_select 8080 $(nproc) &
99+ fi
96100 - if [ "$PERFORMANCE" = "select" ]; then ab -n 10000000 -c 1000 localhost:8080/plaintext; fi;
97- - if [ "$PERFORMANCE" = "thread" ]; then cd examples; ./benchmark_threads 8080 & fi;
98- - if [ "$PERFORMANCE" = "thread" ]; then ab -n 10000000 -c 1000 localhost:8080/plaintext; fi;
101+ - |
102+ if [ "$PERFORMANCE" = "threads" ]; then
103+ cd examples
104+ ./benchmark_threads 8080 &
105+ fi
106+ - if [ "$PERFORMANCE" = "threads" ]; then ab -n 10000000 -c 1000 localhost:8080/plaintext; fi;
99107after_success :
100108 - if [ "$DEBUG" = "debug" ] && [ "$COVERAGE" = "coverage" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then bash <(curl -s https://codecov.io/bash); fi
101109matrix :
You can’t perform that action at this time.
0 commit comments