Skip to content

Commit

Permalink
fix cs-fixer in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhard-efler committed May 16, 2022
1 parent 996a427 commit cc4e49d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ install:
- composer install --prefer-dist --no-interaction

script:
- if [ $TRAVIS_PHP_VERSION = '7.4' ]; then XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover build/clover.xml; else vendor/bin/phpunit; fi
- if [ $TRAVIS_PHP_VERSION = '7.4' ]; then vendor/bin/php-cs-fixer fix --config=vendor/ixocreate/coding-standard/.php_cs -v --diff --dry-run --using-cache=no; fi
- if [ $TRAVIS_PHP_VERSION = '8.0' ]; then XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover build/clover.xml; else vendor/bin/phpunit; fi
- if [ $TRAVIS_PHP_VERSION = '8.0' ]; then vendor/bin/php-cs-fixer fix --config=vendor/ixocreate/coding-standard/.php-cs-fixer.php -v --diff --dry-run --using-cache=no; fi

after_success:
- if [ $TRAVIS_PHP_VERSION = '7.4' ]; then php vendor/bin/php-coveralls -v -x build/clover.xml -o build/clover.json; fi
- if [ $TRAVIS_PHP_VERSION = '8.0' ]; then php vendor/bin/php-coveralls -v -x build/clover.xml -o build/clover.json; fi

notifications:
email: false
Expand Down

0 comments on commit cc4e49d

Please sign in to comment.