-
Notifications
You must be signed in to change notification settings - Fork 1
/
circle.yml
43 lines (39 loc) · 919 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
machine:
php:
version: 5.5.8
checkout:
post:
- |
cat > application/configs/application.ini <<EOL
[production]
[test : production]
[developpement : test]
[testsunitaires : test]
EOL
- |
cat > application/configs/parameters.php <<EOL
<?php
return [
'application.url' => 'whatever',
'db.host' => '127.0.0.1',
'db.name' => 'circle_test',
'db.user' => 'ubuntu',
];
EOL
- |
cat > application/configs/env.php <<EOL
<?php
defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'developpement');
EOL
dependencies:
cache_directories:
- "vendor"
database:
override:
- bin/tests db:populate -v
test:
override:
- phpunit
# Test des scripts populate
- bin/inventory db:populate test -v
- bin/inventory db:populate testDW -v