This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 10
10
- SYMFONY_VERSION=2.3.*
11
11
12
12
before_script :
13
- - composer install --dev
14
- - cp ./Tests/Functional/app/config/parameters.yml.dist ./Tests/Functional/app/config/parameters.yml
15
- - php Tests/Functional/app/console doctrine:phpcr:init:dbal
16
- - php Tests/Functional/app/console doctrine:phpcr:register-system-node-types
13
+ - ./Tests/Functional/init_travis.sh
17
14
18
15
script : phpunit --coverage-text
19
16
Original file line number Diff line number Diff line change @@ -50,3 +50,14 @@ Add a requirement for ``symfony-cmf/routing-auto-bundle`` to your
50
50
composer.json and instantiate the bundle in your AppKernel.php
51
51
52
52
new Symfony\Cmf\Bundle\RoutingAutoBundle\SymfonyCmfRoutingAutoBundle()
53
+
54
+ ## Running the tests
55
+
56
+ To initialize the test environment run the initialization script (you only need
57
+ to do this once):
58
+
59
+ ./Tests/Functional/init_travis.sh
60
+
61
+ Then run all the tests with:
62
+
63
+ phpunit -c phpunit.xml.dist
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ composer install --dev
4
+ cp ./Tests/Functional/app/config/parameters.yml.dist ./Tests/Functional/app/config/parameters.yml
5
+ php Tests/Functional/app/console doctrine:phpcr:init:dbal
6
+ php Tests/Functional/app/console doctrine:phpcr:register-system-node-types
You can’t perform that action at this time.
0 commit comments