mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 14:07:25 +01:00
Reseted .travis to bec7c1d9ce
because of docker conflicts. Unit tests will still fail, because travis doesn't know a database yet, to test repositories
This commit is contained in:
parent
75fd2c677b
commit
102d5840d7
16
.travis.yml
16
.travis.yml
@ -1,19 +1,19 @@
|
|||||||
sudo: required
|
|
||||||
language: php
|
language: php
|
||||||
php:
|
php:
|
||||||
- 7.2
|
- 7.2
|
||||||
git:
|
git:
|
||||||
submodules: false
|
submodules: false
|
||||||
services:
|
|
||||||
- docker
|
|
||||||
before_install:
|
before_install:
|
||||||
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
|
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
|
- cd application
|
||||||
|
- cp phpunit.xml.dist phpunit.xml
|
||||||
before_script:
|
before_script:
|
||||||
- travis_retry bash administration/init.sh
|
- travis_retry composer self-update
|
||||||
|
- travis_retry composer install --no-interaction --prefer-source --dev
|
||||||
script:
|
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:
|
after_success:
|
||||||
- cd docker-symfony
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
- docker-compose exec php vendor/bin/phpunit --coverage-clover=coverage.xml
|
|
||||||
- docker-compose exec php bash <(curl -s https://codecov.io/bash)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user