infinito/.travis.yml
2018-10-31 10:40:43 +01:00

20 lines
623 B
YAML

language: php
php:
- 7.2
git:
submodules: false
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
- cd application
- cp phpunit.xml.dist phpunit.xml
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
script:
- php ./vendor/bin/php-cs-fixer fix -v --diff --dry-run ./src/
- bin/console doctrine:schema:validate --skip-sync
- vendor/bin/phpunit --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)