Skip to content

Commit

Permalink
Time saving optimisations of Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
escopecz committed May 2, 2017
1 parent 2463b1d commit f7027a2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<?php

$finder = Symfony\CS\Finder\DefaultFinder::create()
->in('app')
->in('plugins');
->in(__DIR__.'/app')
->exclude(__DIR__.'/app/cache')
->exclude(__DIR__.'/app/logs')
->exclude(__DIR__.'/app/Resources')
->in(__DIR__.'/plugins');

return Symfony\CS\Config\Config::create()
->level(Symfony\CS\FixerInterface::SYMFONY_LEVEL)
Expand Down
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ php:
before_script:
- composer install

# turn off XDebug
- phpenv config-rm xdebug.ini || return

script:
- bin/phpunit --bootstrap vendor/autoload.php --configuration app/phpunit.xml.dist app/bundles
- bin/php-cs-fixer fix -v --dry-run

0 comments on commit f7027a2

Please sign in to comment.