Skip to content

Commit

Permalink
Roave Backward Compatibility Check added to the travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Dec 11, 2018
1 parent 49160e3 commit fac3cd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ before_script:
script:
- vendor/bin/codecept run unit --coverage --coverage-xml
- composer run phpstan
- composer run bc-check
after_script:
- if [ $TRAVIS_PHP_VERSION = '7.2' ]; then php vendor/bin/php-coveralls; fi
after_success:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"scripts": {
"unit-tests": "vendor/bin/codecept run unit --coverage",
"bc-check": "vendor/bin/roave-backward-compatibility-check",
"bc-check": "php -d memory_limit=480M vendor/bin/roave-backward-compatibility-check",
"phpstan": "vendor/bin/phpstan analyse -l 4 src",
"phpcs": "vendor/bin/phpcs --standard=PSR2 src tests",
"phpcbf": "vendor/bin/phpcbf --standard=PSR2 src tests",
Expand Down

0 comments on commit fac3cd4

Please sign in to comment.