-
Notifications
You must be signed in to change notification settings - Fork 0
/
solano.yml
36 lines (33 loc) · 902 Bytes
/
solano.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
php:
version: '5.6.0'
environment:
AWS_DEFAULT_REGION: eu-west-1
deploy:
amazon:
application_name: awstest
app_spec_template: appspec.yml
deploy_mapping:
- branch: independent
action: publish
deployment_group: awstest
revision: '{"revisionType":"S3","s3Location":{"bucket":"solano-codedeploy-2","bundleType":"zip","key":"DefaultActions.tgz"}}'
submodules: true
hooks:
pre_setup: composer.phar install
worker_setup: echo "Per-worker setup; nothing to do in simplest case"
post_setup: echo "Package assets or otherwise prepare to run tests"
post_build: echo "Deploy to application server here"
cache:
key_paths:
- composer.json
- composer.lock
save_paths:
- vendor
test_pattern: 'none'
tests:
- type: phpunit
mode: parallel
output: exit-status
command: vendor/bin/solano-phpunit
files:
- tests/**Test.php