Skip to content

Commit

Permalink
test project with Symfony 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-gribanov committed Sep 10, 2020
1 parent 3c9ba80 commit 4ce2d3f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .phpstan/symfony_5.neon
@@ -1,4 +1,4 @@
# config for Symfone 5.0
# config for Symfone 5.0 - 5.1

includes:
- default.neon
Expand Down
12 changes: 12 additions & 0 deletions .travis.yml
Expand Up @@ -168,6 +168,18 @@ jobs:
- php ocular.phar code-coverage:upload --format=php-clover build/coverage-clover.xml
- php php-coveralls.phar -v -c .coveralls.yml

- stage: Test Symfony
env: SYMFONY_VERSION=5.1.*
php: 7.2
script:
- vendor/bin/phpunit --coverage-clover build/coverage-clover.xml
- vendor/phpstan/phpstan/phpstan analyse -c .phpstan/symfony_1.neon
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.2.0/php-coveralls.phar
- php ocular.phar code-coverage:upload --format=php-clover build/coverage-clover.xml
- php php-coveralls.phar -v -c .coveralls.yml

- stage: Code Quality
name: PHP CS Fixer
before_script: wget https://cs.symfony.com/download/php-cs-fixer-v2.phar -O php-cs-fixer
Expand Down

0 comments on commit 4ce2d3f

Please sign in to comment.