-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
42 lines (35 loc) · 3.34 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
sudo: required
language: node_js
node_js:
- "8"
services:
- docker
before_install:
- pyenv global 2.7.13
install:
- npm install --dev
- npm install travis-ecs-deploy -g
script:
- yarn lint
env:
global:
- IMAGE_NAME=goodbotai/sofia
- DEPLOY_BRANCHES=master
# AWS_REGION
- secure: "E7N7V46PolOSwsghYWmZCVGELJHgJk8faPJiycW+BSBz2u9IGm4zwDuoD4+/gVJpKcPKlo7Er1DOW3q6Jzo3sbxlKcMVfh+u4FjWz4hYMOfiie1vr1GzTkVFzU6HCTgsKKVOyTc5L3bhBRAd6sUCCCkWvo7e5BOC0UwnOhKLDy4/z+N5P++rgb9k8mQciDJDYt2YrzJWJsSgWMX3MSy8hOLrPOwFRTtYmTrlGxPtJFf7QaqwSY32nmccr9+eoEolWJVWmcaGm996j8Yf356fhyQBUh1KlgZqI3qPi9l1M5PjalY+q5c5yGB1Ofqt4wWpaW+9FY0AOnPZVtOxXrGhtQKtS3D76D8wOaQ8/TBJKSwvg8hBQse+AucD/lNGEuV1t2ubHfHQUcglpEssh6JpTVO+uw/JtewMu6j2WBiUYLw54JDxct4IMG1FqBcC8KN8qF/n5UABqJbGsiC2oBRECmOUOlaFZ/BaJvS3L4TJccWL+MXZXLTYtcQVC3+x4qF5Il3XnfnegbGRkQn3QIO1agq4VKYlcnW9sAmizgKNz1z51F8OijywzmjONNEJaZTWIT1+R1HZGUkOpwk77cpTw6r9ujCNsADAdmQXOW6Y1vWt9PuDaeDE53MgAcFnqBaktHzdjWBdYOhTSXbPAB0e8/LiMxJVBi+SAPeC57awqzk="
# AWS_ACCESS_KEY_ID
- secure: "Il2gjEMoo8lWN4s8Deuhs2SAy3hgPQf4pImTdqeh2extRAaw6vecAYdxe1Ex2FmO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7bwCDfze2XG60f06Hpl6IaaCeDkK7YXxjrcrSzDIHKghnsEPAxrYOiWHtmkcjhc8PPfbwUZsnFoFqgrBCrapklTQ1XWzNEdrqrd+VXs4CZiBET7BmrrJKGTHnh7odCWFlDNHBY9ShHljx99CD9/x/oi0rzoZ3Ffz6qzQdRgHJgfu2L/JYZGqQaEps9cl2iV1mDD98ZSfbuBNGespF6uwEYb2H4ZEiXdxlPnZtd1azzuokeAMNAMJEm8Q38="
# REMOTE_IMAGE_URL
- secure: "iG//zYw4+02N87KNfwtfWvUnw9Sjj80KNwV47iU+8DgCFmmYtRR4oMg3vhYuo0wAiCJnGzl6GzK4DEToOQFix3AEQc2ea6Zp2dJcHbab2JMcGV9Dm3bcKliysU53HZu+VCmDHaVocX1HyemNotqPelauMIfYwCEs9G5/SXfnzLpQLBXZPtX1rAcnFvhhVinA8PRzIhwMJdEnA/cJSepO5sIXWh3/LoCbq2CpQw0sXJTkh5jRbvRe1vkN5OGmje6Bfjl2qS/txBkH8sdbQOdzO4V6dH1rCBtxffJ9r3D8hu8VO1l8/qKgsc1uni2IW4xlafN9TIqRPPVpjYCoWOdHdyAlCDqEy3FYFfIalKsDCEQwdFFNXwrTS2wTM4ZJSK/0tzsd/G8OjjaDgv8PrHWzeGT+4iDRSarevluWzaBQ1BFDgnifcaFgIkp4zfDuO1FRnU98QX/ROCcwDdQTMgNAiQq2F+RKRkTf+JRcValR08bLzbOGxB7UQjLamxIfKX/AqY3O4qzGjLVH7xPb3rvl1gnP3dwX2ZZ9SUVuCUfWY4BOd04Ka8W09dyYRbCZAyXHKunXYTHchvBjWy9JGZ/FP4HyR9QhFto5NbNdMDcCGhjx4iUYkAkkExt5nL6NgiVVwnWXqRXggAUvF2WXEMSg90e2PZWNLPTGRnJsXdledJI="
- ECS_CLUSTER_MASTER: sofia-production
- ECS_SERVICE_MASTER: sofia-production
deploy:
# deploy to staging environment
skip_cleanup: true
provider: script
script:
- yarn run travis-ecs-deploy
on:
branch: master