-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (26 loc) · 4.03 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
language: node_js
node_js:
- '10'
env:
global:
- HEROKU_APPNAME=bestbuy-assignment
- secure: aRdpTCAFJlaT/ayzNhDS9yEBrwFaeZNJA+Nd/JoEisMBFkxFZgsfPdqZZmBlkjnW2WGWbJRqGFCKOehtWsEkq7d7olnwRDCl85wSPU1Hu2KjJTUHTP5Tu0IWZKxUh1v3a3n29GpGzNBK/r4/m4UU3Tfsw2+sd8Dtnat6NF+MVy1OCFAG9AZNIaTAhmxPWVjVUPshQivVRB3DVZLXfZoTuy60nfOErQ4IpIlDPR6Q4XcwSHLX3RP/2AAinJBl42+/qe2J7sKnr8lTNMdRwOHcBiiWjz7sPrqMElfgbBbJigAfPIJmQdtyIzUYuRbwGM7uhk6ISxDHBLFZmr5R/1HJroqXH+Sx5UCl5t5VxIKhEaDdnbtLtcwjzig6GwEIswPIv/B7zUarPD6VfVLIy8cbc4eeJH7Em9qTKVAaxi+By2k8jBqowqAsOnLXZjl26xgERM7dMiSuA6muDalnfLOOq9PyyUksYCKq0oXSvZE8YCAOi9Fxed2x2rVAFalnrxZVoZfD+Qcmm7twWiihOahK12ViwTHGoaYHE9fjmgU2xzp0WtGKv/jkNQQuF7Ripd2zgVoO7j4wK+x6DRYy7iZyTipmSsdA9xNJ1s7W0DD8btWJF2wcdo9cbKrL8YOu0VHEo78V3t8taH+sz0uyIortmrBhOqEPi3c+2WEKIb2pO4o=
- secure: opvhAdeaYQNhkoP+lt8/VeszEgmYfN2unL4vFMtbhVLsZY+tgoz0+3cR0O4+Za37z6oxDBHGy2Ss4f8Wk0LbnPzRBZhb7XJdF5dJ/TxYMnsxdBD06tG4g8vqTrakdF2/jh+UKr20lpKN32y5rwzeR+Cakv6YN2r2dHmGqM5miaUY7YIfCUh6ZSaqm02jYtGcQClxUJFK9+WH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hvrIOSNfz9s/b6dgoDPdaYDl51bP9TO4WHrDvzKBJhR1n8Aq+/ZlWrWWZR+q7ABg8KMY1DGW+y8hElJ+Qhb4u53Ai83czxCFZANUQSAgks0zg6D7n2lSwP4vcK8ozC5CeXLJA0pOG4/kEDWuXtCWMlYM0R/LQrYCxuPTP5A+5Pyhunva3yDz9bU2QBVZMFMUVwqhUPAw9OVCPL4hZaxdujUmzbS0Bwl48hPRxrvZrcLp7+YPBmFV6/+tvGskCNNduxmDEReEePsKFIodQkr6V5KMVQTYEUVNLnToR/PXhFRI9nm+g/U0mVybsCe/Cyi66gKfVms4xrbo9QWAmA/rthrhtMpxPP8RifeunInLNoX929fc/l5SpgAQNBI68r2dI=
services:
- docker
before_install:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- echo "$HEROKU_PASSWORD" | docker login -u "$HEROKU_USERNAME" --password-stdin registry.heroku.com
script:
- docker build -t $DOCKER_USERNAME/bestbuy .
- docker tag $DOCKER_USERNAME/bestbuy registry.heroku.com/$HEROKU_APPNAME/web
deploy:
provider: script
script:
docker push $DOCKER_USERNAME/bestbuy;
docker push registry.heroku.com/$HEROKU_APPNAME/web;
heroku container:release -v web --app $HEROKU_APPNAME;
branch: master