-
Notifications
You must be signed in to change notification settings - Fork 0
/
shippable.yml
48 lines (43 loc) · 1 KB
/
shippable.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
language: none
build:
pre_ci:
- docker build -t dncr-ci:0.1 ./shippable
pre_ci_boot:
image_name: dncr-ci
image_tag: 0.1
pull: false
options: "-e HOME=/root"
ci:
- composer.phar self-update
- composer.phar install
- cp .env.dev .env
- php artisan key:generate
- mkdir -p shippable/testresults
- phpunit --log-junit shippable/testresults/junit.xml
- cd frontend
- npm update
- npm run ci
- cp testresults/* ../shippable/testresults
cache: true
cache_dir_list:
- $SHIPPABLE_BUILD_DIR/frontend/node_modules
- $SHIPPABLE_BUILD_DIR/vendor
integrations:
notifications:
- integrationName: Slack
type: slack
recipients:
- '#services'
branches:
only:
- develop
- master
on_success: always
on_failure: always
on_start: never
on_pull_request: always
- integrationName: email
type: email
on_success: never
on_failure: never
on_pull_request: never