This repository was archived by the owner on Feb 6, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +46
-782
lines changed Expand file tree Collapse file tree 4 files changed +46
-782
lines changed Original file line number Diff line number Diff line change 1010 global :
1111 - COMPOSER_ARGS="--no-interaction"
1212 - COVERAGE_DEPS="php-coveralls/php-coveralls"
13+ - STATIC_ANALYSIS_DEPS="phpstan/phpstan"
1314
1415matrix :
1516 include :
@@ -22,7 +23,7 @@ matrix:
2223 - CS_CHECK=true
2324 - BENCHMARKS=true
2425 - TEST_COVERAGE=true
25- - PHPSTAN_TEST =true
26+ - STATIC_ANALYSIS =true
2627 - php : 7.1
2728 env :
2829 - DEPS=latest
@@ -44,13 +45,14 @@ install:
4445 - if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
4546 - if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
4647 - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
48+ - if [[ $STATIC_ANALYSIS == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $STATIC_ANALYSIS_DEPS ; fi
4749 - stty cols 120 && composer show
4850
4951script :
5052 - if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
5153 - if [[ $BENCHMARKS == 'true' ]]; then vendor/bin/phpbench run --revs=2 --iterations=2 --report=aggregate ; fi
5254 - if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
53- - if [[ $PHPSTAN_TEST == 'true' ]]; then ./vendor/bin/phpstan analyse --no-progress . ; fi
55+ - if [[ $STATIC_ANALYSIS == 'true' ]]; then ./vendor/bin/phpstan analyse --no-progress . ; fi
5456
5557after_script :
5658 - if [[ $TEST_COVERAGE == 'true' ]]; then vendor/bin/php-coveralls -v ; fi
Original file line number Diff line number Diff line change 2929 "mikey179/vfsStream" : " ^1.6.4" ,
3030 "ocramius/proxy-manager" : " ^2.1.1" ,
3131 "phpbench/phpbench" : " ^0.13.0" ,
32- "phpstan/phpstan" : " ^0.10.3" ,
3332 "phpunit/phpunit" : " ^6.4.4" ,
3433 "zendframework/zend-coding-standard" : " ~1.0.0" ,
3534 "zendframework/zend-container-config-test" : " ^0.2.1"
You can’t perform that action at this time.
0 commit comments