-
-
Notifications
You must be signed in to change notification settings - Fork 108
Add e2e tests #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add e2e tests #106
Conversation
.travis.yml
Outdated
- | | ||
if [[ ! $deps && $TRAVIS_PHP_VERSION = "7.1" ]]; then | ||
composer install --no-dev --prefer-dist --no-progress --no-suggest --ansi; | ||
composer dump-autoload --classmap-authoritative --no-dev; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can merge both lines (composer install --no-dev --prefer-dist --classmap-authoritative --no-progress --no-suggest --ansi
)
|
||
script: | ||
- if [[ $coverage = 1 ]]; then phpdbg -qrr phpunit-6.3.phar --coverage-clover build/logs/clover.xml; else php phpunit-6.3.phar; fi | ||
- if [[ $lint = 1 ]]; then php php-cs-fixer.phar fix --dry-run --diff --no-ansi; fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the tests/e2e
directory must be excluded in .php_cs.dist
.
@dunglas build green & PR ready for review |
Thank you very much @theofidry! |
Subset of #105. Instead of doing the jump of adding e2e tests with the PHAR + the scoping, this PR just takes care of the PHAR e2e tests :)