-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (29 loc) · 1.25 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
language: node_js
node_js:
- '8.10'
before_install:
- if [[ `npm -v` != 6* ]]; then npm i -g npm@6; fi
- node --version
- npm --version
- nvm --version
install:
- npm ci
test:
- npm t
script:
- npm run tag-build
- npm run zip
deploy:
on:
tags: true
condition: $TRAVIS_TAG =~ ^prod-.+$
provider: lambda
function_name: verifynpm-get-package
zip: ./compiled/bundle.zip
region: us-east-2
role: arn:aws:iam::541605000355:role/lambda_code_deploy
runtime: nodejs8.10
handler_name: handler
access_key_id: AKIAIS2OW5SWZSR7TNOA
secret_access_key:
secure: AJEX8wjl7shs/Cg+DiVsMIO39OxRx1BVl+s9USWnN4pGGxo1EITLFsVc4Rblktc8M3ih1oRSx/mB7ZFxuD6FVXMtdbC457bVX4XguFzr49TvbKarZCsvvuAAy+6r/HwilyG4zvzJsCAGUCvd0u5Diit+5hZzCBFrExqo/EWoHeEqwBLYOoBPmqo5fMIv47EKTr9+K5zAHAq7Zflhss0PWX0e/Jjf5oVLgzzYHwmz/5lLuQk8q4GjDaGNWJ4zjkIXqA8FFt9Ws15jgvDTP23kj/nPXYbQ+TXHwMLlaIrimkI/tNSi1jCFfXZi73BeT9e/VbfgnWL2MwrXns9D0xLtSlDQ5nv+YcXZWy/PJTziTV7hFRhQB53Uuer1IN76CuCXCDMDACIR480dHJHnUtnBQFEsR7Kp16PY/0BAN7tiMrpl3HofOB0e6a9fJvgfn3qqQk1E8To3NuE6E/XsIbvISGiizv+XM9u4bUsqIskf8LMmrUHLhZA8H4nAzIAttC4sevchvwwWqsBygMRqXDuqu9hG8X46rxmb75fnQovzN6AvYeHI0i4qpAUinQkzdbrULjdIJ+bjszHqIEw8SWW+j45mGQOtC8jcHWVaD197Rv2fTD655YgraILYcMofk6sPBb41kECXpYMKh1saLqMBRwvQHQbFbw1Dd+NWOPj3/qI=