Skip to content

Commit 8747865

Browse files
committed
Add codeception run to Travis CI
1 parent 1cc79e5 commit 8747865

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.php_cs.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ $finder = PhpCsFixer\Finder::create()
1515
->exclude('var')
1616
->exclude('public/bundles')
1717
->exclude('public/build')
18+
->exclude('tests') // Codeception & Symfony coding standards are different
1819
;
1920

2021
return PhpCsFixer\Config::create()

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ before_install:
2626
install:
2727
- composer install
2828
- ./vendor/bin/simple-phpunit install
29+
- ./vendor/bin/codecept build
2930

3031
script:
3132
- ./vendor/bin/simple-phpunit
33+
- ./vendor/bin/codecept run
3234
# this checks that the source code follows the Symfony Code Syntax rules
3335
- '[[ "$TRAVIS_PHP_VERSION" == "nightly" ]] || ./vendor/bin/php-cs-fixer fix --diff --dry-run -v'
3436
# this checks that the YAML config files contain no syntax errors

0 commit comments

Comments
 (0)