Skip to content

Conversation

theofidry
Copy link
Contributor

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 :)

.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;
Copy link
Member

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
Copy link
Member

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.

@theofidry
Copy link
Contributor Author

theofidry commented Oct 13, 2017

@dunglas build green & PR ready for review

@dunglas dunglas merged commit 4e3fe53 into api-platform:master Oct 13, 2017
@dunglas
Copy link
Member

dunglas commented Oct 13, 2017

Thank you very much @theofidry!

@theofidry theofidry deleted the bugfix/e2e branch October 13, 2017 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants