-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.bldr.yml
75 lines (74 loc) · 2.26 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
bldr:
name: alexkovalevych/jira-api
description: Jira API library
profiles:
travis:
description: Travis Profile
jobs:
- prepare
- lint
- test
local:
description: Local Development Profile
jobs:
- testLocal
- watch
jobs:
prepare:
tasks:
-
type: exec
failOnError: true
executable: composer
arguments: [-q, install, --prefer-dist]
-
type: notify
message: Prepare Task Finished
lint:
description: Lints the files of the project
tasks:
-
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
tasks:
-
type: exec
failOnError: true
executable: php
arguments:
- vendor/bin/phpunit
- --coverage-html=build/coverage
- --coverage-text=php://stdout
testLocal:
description: Runs the PHPUnit Tests
tasks:
-
type: exec
executable: clear
-
type: exec
executable: php
arguments:
- vendor/bin/phpunit
#- --group=now
watch:
description: Watch Task for Local Development
tasks:
-
type: watch
src:
-
path: ["src", "tests"]
files: "*.php"
recursive: true
task: testLocal