-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
29 lines (28 loc) · 2.77 KB
/
.travis.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
sudo: required
language: scala
services:
- docker
scala:
- 2.11.2
script:
- sbt -jvm-opts travis/jvmopts ++$TRAVIS_SCALA_VERSION 'set test in assembly := {}' clean assembly
deploy:
provider: s3
access_key_id:
secure: df/n6kw46YOFlJm1R/ckIVVxiMY2tbDJPjHAESO+ZerVelTYL+9dEMYciZ75Lt6HaqR9k2Sky40OhWGIpla5rS+i15F+LatIaDfN4KtdnXM8dEXSvt2LrldKKiVePo22xR3bjQMMYc46vXEBviMeTseYy3Gk+WBjMDl9ios1/PzPslsTxVJPlRRm53PLMe0Zdofo6KZhY6uCX0Guz38mMalytkXiEGibKZTYPJRqoDk3AgUoQrwos+Fn/72aofxQM0aOGNxDp3r8vB5H9pEupcsfgySMeiwLWose7IH94+v+RPZIq2AJBE4sqhV2q/y8wKvXXaBLEEI7W5C8TQJDdjKIkDYo+kF5tn6g753WndgVrKbPkvB7Pdx/nXbbzld0P1LeoGwe9mG+Ddvi3snCHdnP0eXr/s9nFQ5LS3PuyYydwVO1Zh9MY26YcJHJsNdjUC/uuDnOBxlon2e5219cCvag1ecv4O1B+uybkFt0nKY0ENQ0wQs9RzSgnH1qIgT+sB44Lw4lK+7RtwXO7IkK93fuka3FmC0XpJ6gwCUlJ/t/kepoXVwVmpuiy0h7ymdhBs3ay6AOohyU58osOl9/Z41ih1bX8MFLPuAqlXBOqZUZc+cTHqJMtnURs+/Nl4/xVv2Lu4qQFtFNqQUq3Oq3aM1Y1UiU8/Y6xECei+vZ2Og=
secret_access_key:
secure: MovnbK+JOEIJr6ouRuPpiSpuORH0inJK+annQNJSwzlXGcW4Dy06b+TOpdzIcZylfCLwqqBjWrfldGbKVlRR+CzVva7NKpTuqEvS+ZBoE/YPab8AO6sq2LdsebHPFl7RcA7XJmT8uFbxmGbrkDgK0PREvfUY/DlOBWz1g9VevdZXN82O5OjVTVzkfM+aCi9nfb1FCt1GhspDi6IGkEbMdev0kStIcW1xRhFTG1qHBNAPe/yHMQsWcCe0bXDXZlUE/usPiRRZXxEPQJg003TBvVWHtqEPquXetrDShW72lovWaetPDJZ31O/uDO0mxxulPcPzUAgrLYBMUpL8wICP8MZQ6JmiK2DRf9fZz1YdnBTqkF5hb+05vD5b1QD2rxiGPdimyp//zhz3N5esvid8MFyb2kplaMONdNbkoL8qxb4haVumvM7+T2QExKmM+yK+oYXLMBFZ2jNBqKNTVo8PVoiUUVIfhJTbs1euKzk5v76dtWeh3SC4KvpW7wur9wwqSHpHcXNe1YFBXRouyzy245VjQse61irJGI12mvD/meGFTb9ZAI2p7WeHbKaqrT2O+1J+3pdRDlcwRxFdeXkmjX+dcvvUncC84mYdhSO7JN9JuC+sxTY35cea2TLtKrFUghq+sMaAvU6tEHL90BjuPTsZ2kbJ4eOD7zF2AskLweA=
bucket: datafy-data-lake-public-artifacts
skip_cleanup: true
acl: public_read
region: eu-west-1
local_dir: deploy_app/artifacts
upload-dir: project-matt
after_success:
- pip install --user awscli aws-sam-cli
- export PATH=$PATH:$HOME/.local/bin
- sam package --template-file deploy_app/cloudformation/matt-job.template.yaml --s3-bucket datafy-data-lake-public-artifacts --s3-prefix project-matt/lambda --output-template-file deploy_app/cloudformation/matt-job-packaged.template.yaml
- aws s3 cp deploy_app/cloudformation/matt-job-packaged.template.yaml s3://datafy-data-lake-public-artifacts/project-matt/cloudformation/
- aws s3 cp deploy_app/cloudformation/static-stacks/matt-infrastructure-stack.template.yaml s3://datafy-data-lake-public-artifacts/project-matt/cloudformation/matt-infrastructure-stack.template.yaml
- aws cloudformation validate-template --template-url https://s3-eu-west-1.amazonaws.com/datafy-data-lake-public-artifacts/project-matt/cloudformation/matt-job-packaged.template.yaml
- aws cloudformation validate-template --template-url https://s3-eu-west-1.amazonaws.com/datafy-data-lake-public-artifacts/project-matt/cloudformation/matt-infrastructure-stack.template.yaml