forked from gushphp/gush
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.bldr.yml
105 lines (105 loc) · 3.23 KB
/
.bldr.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
bldr:
name: gushphp/gush
description: Gush Project
profiles:
travis:
description: Travis Profile
tasks:
- prepare
- lint
- test
local:
description: Local Development Profile
tasks:
- testLocal
- watch
rebase:
description: Gush rebase flow
tasks:
- gushRebase
merge:
description: Gush merge flow
tasks:
- gushMerge
tasks:
prepare:
calls:
-
failOnError: false
type: filesystem:remove
files: [build/coverage, build/logs]
-
type: filesystem:mkdir
failOnError: true
files: [build/coverage, build/logs]
-
type: filesystem:touch
failOnError: false
files: [build/coverage/index.html]
-
type: exec
failOnError: true
executable: composer
arguments: [-q, install, --prefer-dist]
-
type: notify
message: Prepare Task Finished
secure:
calls:
-
type: exec
failOnError: true
executable: ./secure
arguments: []
lint:
description: Lints the files of the project
calls:
-
type: apply
failOnError: true
src:
- { path: [src, tests], files: *.php, recursive: true }
output: /dev/null
executable: php
arguments: [-l]
test:
description: Runs the PHPUnit Tests
calls:
-
type: exec
failOnError: true
executable: php
arguments:
- bin/phpunit
- --coverage-html=build/coverage
- --coverage-text=php://stdout
testLocal:
description: Runs the PHPUnit Tests
calls:
-
type: exec
executable: php
arguments:
- bin/phpunit
- --group=now
watch:
description: Watch Task for Local Development
calls:
-
type: watch
src:
- { path: [src, tests], files: *.php, recursive: true }
task: testLocal
gushRebase:
description: Gush rebase flow
calls:
-
type: gush:branch:rebase
base_branch: master
gushMerge:
description: Gush merge flow
calls:
-
type: gush:pull-request:merge
base_branch: master
symlinked: true