forked from mauriceyap/ccm-assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (37 loc) · 2.91 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: python
python: '3.6'
notifications:
email: false
sudo: enabled
dist: trusty
before_install:
- openssl aes-256-cbc -K $encrypted_5521cf2de878_key -iv $encrypted_5521cf2de878_iv
-in alexa_secrets.py.enc -out src/alexa_secrets.py -d
install:
- pip install --target=src -r src/requirements.txt
script:
- python3 -m unittest discover -s tests -t tests -b
after_success:
- cd src
- zip -r alexa.zip *
- cd ..
- mkdir deploy-zip
- mv src/alexa.zip deploy-zip/
deploy:
provider: lambda
function_name: alexa-ChristChurchMayfairAssistant
region: eu-west-1
role: arn:aws:iam::882482748234:role/lambda_basic_execution
runtime: python3.6
module_name: alexa_main
handler_name: lambda_handler
zip: deploy-zip/alexa.zip
timeout: 12
access_key_id:
secure: p/heXiQA5MLnim/lvlhn2ztlxZSGdmrgzDIb2M4K1G5dU8cmmt96l03AUR9jwSOgGPuk6KWOtaEuJFci/A7grV/kUyoHC4oHohm1eyXvVwfj7MehyJtj4DNAC4/tbdYG42NFCwEGRBJoaE9wEMmgOB16IzH03POOH013bz0Rn2uIVpJsch5OpP0p87NYHf5BVvLZRNVAyjAjlLKg6HhLaPnhIQFLRjNqq3qDuTPQxT9CP/XuJhUT0bVhycRuRPAXpqn3ap1OWI8vpCg80CkBT8jm525M1cVQHylYB0Z4BjcIGvtVJgBzkIQtXHXAu7c5FAmF4dvUGxcFO0nEcTg7iyfQ7/cS/RAxGl4R51j9VII8GrYRs9TPidwTlnMbY2wUNIy+5fIXCziExfK6xWmoAeTlScoYkzRNp+POVCqIEj7XsX+41DRFsWaihxQU2Ua9VzrGW+GqyPyisPk1lX+DJR7AmY7EYVnxWcTghmeE13bG1zaqN/8rWyI/qdR8ONjy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