mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
fix gitlab ci
This commit is contained in:
parent
be2edec605
commit
4144a336ad
@ -15,17 +15,18 @@ stages:
|
|||||||
- build-doc
|
- build-doc
|
||||||
- deploy-doc
|
- deploy-doc
|
||||||
|
|
||||||
test:php-5.6:
|
|
||||||
stage: test
|
|
||||||
image: chill/ci-image:php-5.6
|
|
||||||
<<: *test_definition
|
|
||||||
script: phpunit
|
|
||||||
test:php-7:
|
test:php-7:
|
||||||
image: chill/ci-image:php-7
|
image: chill/ci-image:php-7
|
||||||
stage: test
|
stage: test
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script: phpunit
|
script: phpunit
|
||||||
|
|
||||||
|
test:php-7.1:
|
||||||
|
image: chill/ci-image:php-7.1
|
||||||
|
stage: test
|
||||||
|
<<: *test_definition
|
||||||
|
script: phpunit
|
||||||
|
|
||||||
deploy-packagist:
|
deploy-packagist:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: chill/ci-image:php-7
|
image: chill/ci-image:php-7
|
||||||
|
@ -25,7 +25,7 @@ namespace Chill\PersonBundle\Tests\Entity;
|
|||||||
use Chill\PersonBundle\Entity\AccompanyingPeriod;
|
use Chill\PersonBundle\Entity\AccompanyingPeriod;
|
||||||
use Chill\PersonBundle\Entity\Person;
|
use Chill\PersonBundle\Entity\Person;
|
||||||
|
|
||||||
class AccompanyingPeriodTest extends \PHPUnit_Framework_TestCase
|
class AccompanyingPeriodTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
public function testClosingIsAfterOpeningConsistency()
|
public function testClosingIsAfterOpeningConsistency()
|
||||||
|
@ -28,7 +28,7 @@ use Chill\PersonBundle\Entity\AccompanyingPeriod;
|
|||||||
/**
|
/**
|
||||||
* Unit tests for the person Entity
|
* Unit tests for the person Entity
|
||||||
*/
|
*/
|
||||||
class PersonTest extends \PHPUnit_Framework_TestCase
|
class PersonTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test the creation of an accompanying, its closure and the access to
|
* Test the creation of an accompanying, its closure and the access to
|
||||||
|
@ -29,7 +29,7 @@ use Prophecy\Prophet;
|
|||||||
*
|
*
|
||||||
* @author Julien Fastré <julien.fastre@champs-libres.coop>
|
* @author Julien Fastré <julien.fastre@champs-libres.coop>
|
||||||
*/
|
*/
|
||||||
class BirthdateValidatorTest extends \PHPUnit_Framework_TestCase
|
class BirthdateValidatorTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* A prophecy for \Symfony\Component\Validator\Context\ExecutionContextInterface
|
* A prophecy for \Symfony\Component\Validator\Context\ExecutionContextInterface
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "chill-project/person",
|
"name": "chill-project/person",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"type": "symfony-bundle",
|
"type": "symfony-bundle",
|
||||||
@ -31,21 +31,26 @@
|
|||||||
"doctrine/doctrine-fixtures-bundle": "~2.2",
|
"doctrine/doctrine-fixtures-bundle": "~2.2",
|
||||||
"champs-libres/composer-bundle-migration": "~1.0",
|
"champs-libres/composer-bundle-migration": "~1.0",
|
||||||
"doctrine/doctrine-migrations-bundle": "~1.1",
|
"doctrine/doctrine-migrations-bundle": "~1.1",
|
||||||
"doctrine/migrations": "~1.0@dev"
|
"doctrine/migrations": "~1.0",
|
||||||
|
"phpoffice/phpspreadsheet": "dev-develop#9e835676a6a2df9f7e445a28d4d89f6bd296a7c5@dev"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/phpunit-bridge": "^2.7",
|
"symfony/phpunit-bridge": "^2.7",
|
||||||
"fzaninotto/faker": "~1"
|
"fzaninotto/faker": "~1",
|
||||||
|
"phpunit/phpunit": "~5.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"post-install-cmd": [
|
"post-install-cmd": [
|
||||||
"ComposerBundleMigration\\Composer\\Migrations::synchronizeMigrations"
|
"ComposerBundleMigration\\Composer\\Migrations::synchronizeMigrations",
|
||||||
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap"
|
||||||
],
|
],
|
||||||
"post-update-cmd": [
|
"post-update-cmd": [
|
||||||
"ComposerBundleMigration\\Composer\\Migrations::synchronizeMigrations"
|
"ComposerBundleMigration\\Composer\\Migrations::synchronizeMigrations",
|
||||||
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"app-migrations-dir": "Tests/Fixtures/App/app/DoctrineMigrations"
|
"app-migrations-dir": "Tests/Fixtures/App/app/DoctrineMigrations",
|
||||||
|
"symfony-app-dir": "Tests/Fixtures/App/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user