forked from nuber-io/nuber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
task.yml
38 lines (38 loc) · 1000 Bytes
/
task.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
# Task Runner Configuration
# https://github.com/jamielsharief/task-runner
tasks:
test:
name: Run PHPUnit
description: runs PHPUnit tests
commands:
- vendor/bin/phpunit
output: false
environment:
XDEBUG_MODE: "off"
output: true
coverage:
name: Generate code coverage
description: Generates the code coverage
commands:
- vendor/bin/phpunit --coverage-html coverage
environment:
XDEBUG_MODE: "coverage"
output: true
phpstan:
name: Run PHPStan
description: Runs PHPStan to find errors in code
commands:
- vendor/bin/phpstan analyse src
release:
name: Create release
description: Creates a release and updates version.txt
commands:
- bin/release
output: true
deploy:
name: Deploy scripts and syn docs
description: Deploy process
commands:
- scp scripts/* ${SSH_USER}@nuber.io:/var/www/nuber.io/public
- rsync -av docs/ ../docs/source/docs/
dotenv: .env.task