forked from ushahidi/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodeship-steps.yml
38 lines (34 loc) · 1.02 KB
/
codeship-steps.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
- name: "Test"
type: parallel
steps:
- name: "Test PHP 7.1"
service: test/php-7.1
command: test_reporter composer run test --timeout 0
- name: "Test PHP 7.2"
service: test/php-7.2
command: test_reporter composer run test --timeout 0
- name: "Test PHP 7.3"
service: test/php-7.3
command: test_reporter composer run test --timeout 0
- type: parallel
steps:
- name: "Bundle"
type: serial
tag: '^v[0-9]\.[0-9]+.[0-9]+(-[a-zA-Z0-9\.]+)?$'
steps:
- service: build
command: build
- service: release
command: release
- type: serial
tag: develop
steps:
- name: "Docs (develop)"
service: aglio
command: aglio -i /vols/src/docs/api/index.apib -o /vols/src/docs/api/index.html
- name: "Deploy Docs (develop)"
service: awscli
command: aws s3 sync /vols/src/docs/ s3://preview.ushahidi.com/platform/develop --acl public-read
- name: "Deployment director"
service: deploy
command: ush-deployment-director.sh