File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313services :
1414 - mysql
1515 - postgresql
16-
16+
1717# Commands to be run before your environment runs.
1818before_script :
19- - composer self-update
20- - composer require php-coveralls/php-coveralls
21- - composer require phpstan/phpstan
19+ - composer self-update
20+ - composer require phpstan/phpstan "0.11.3"
2221 - mysql -e 'CREATE DATABASE IF NOT EXISTS ez_test;'
2322 - mysql -e "CREATE USER ez_test@localhost IDENTIFIED BY 'ezTest'; GRANT ALL ON ez_test.* TO ez_test@localhost; FLUSH PRIVILEGES;"
2423 - psql -c 'CREATE DATABASE ez_test;' -U postgres
@@ -31,7 +30,7 @@ after_success:
3130 - travis_retry php vendor/bin/php-coveralls
3231
3332# Commands you want to run that will verify your build.
34- script :
33+ script :
3534 - vendor/bin/phpunit --coverage-clover=coverage.xml
3635 - vendor/bin/phpstan analyse lib tests --level=1
3736
Original file line number Diff line number Diff line change @@ -82,8 +82,7 @@ install:
8282 - appveyor-retry appveyor DownloadFile https://getcomposer.org/composer.phar
8383 - cd c:\projects\php-project-workspace
8484 - composer self-update
85- - composer require php-coveralls/php-coveralls
86- - composer require phpstan/phpstan
85+ - composer require phpstan/phpstan "0.11.3"
8786
8887build_script :
8988 # postgres
You can’t perform that action at this time.
0 commit comments