Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 543e450

Browse files
committed
Run benchmarks on Travis CI
1 parent 5006253 commit 543e450

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ matrix:
3232
- PATH="$HOME/.local/bin:$PATH"
3333
- php: 7
3434
env:
35+
- BENCHMARKS=true
3536
- CS_CHECK=true
3637
- php: 7.1
3738

@@ -50,6 +51,7 @@ install:
5051

5152
script:
5253
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
54+
- if [[ $BENCHMARKS == 'true' ]]; then vendor/bin/phpbench run --revs=2 --iterations=2 --report=aggregate ; fi
5355
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
5456
- if [[ $DEPLOY_DOCS == "true" && "$TRAVIS_TEST_RESULT" == "0" ]]; then wget -O theme-installer.sh "https://raw.githubusercontent.com/zendframework/zf-mkdoc-theme/master/theme-installer.sh" ; chmod 755 theme-installer.sh ; ./theme-installer.sh ; fi
5557

0 commit comments

Comments
 (0)