From 102d5840d7aaebc5e337a02d9e34ddffbcfe4874 Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Sun, 18 Nov 2018 10:20:44 +0100 Subject: [PATCH] Reseted .travis to bec7c1d9cecf171d2c3b3ea90ca16d3dac582c01 because of docker conflicts. Unit tests will still fail, because travis doesn't know a database yet, to test repositories --- .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 31b43bc..425c902 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,19 +1,19 @@ -sudo: required language: php php: - 7.2 git: submodules: false -services: - - docker 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 bash administration/init.sh + - travis_retry composer self-update + - travis_retry composer install --no-interaction --prefer-source --dev script: - - bash administration/test-everything.sh + - 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: - - cd docker-symfony - - docker-compose exec php vendor/bin/phpunit --coverage-clover=coverage.xml - - docker-compose exec php bash <(curl -s https://codecov.io/bash) + - bash <(curl -s https://codecov.io/bash)