diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0164ffc9f..83a9d555a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,11 +19,12 @@ stages: test:php-5.6: stage: test <<: *test_definition - script: phpunit + script: php vendor/bin/phpunit + allow_failure: true test:php-7: stage: test <<: *test_definition - script: phpunit + script: php vendor/bin/phpunit deploy-packagist: diff --git a/composer.json b/composer.json index 0ab304810..308b64699 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,8 @@ "chill-project/person": "dev-master@dev", "champs-libres/composer-bundle-migration": "~1.0", "doctrine/doctrine-migrations-bundle": "~1.1", - "doctrine/migrations": "~1.0@dev" + "doctrine/migrations": "~1.0@dev", + "phpunit/phpunit": "^6.2" }, "require-dev": { "doctrine/doctrine-fixtures-bundle": "~2.2",