-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (23 loc) · 2.54 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
language: elixir
elixir:
- 1.4.5
otp_release:
- 20.1.7
services:
- docker
env:
global:
- secure: NvJos5T7WwPJ/bxO6cZVZGbxfDoX4JheZrOhfAwQOhOs3Nvea4/Yt8A3FWbhdkzwV5t3WOMXENalUhb4L/qyILqQg9jXtHaHukBEjSqnfC1J1+J7+xyH05OtedsOMN40IT3a0pvstlNYYb73R32MipYc1s5oQf/8hz9MiiKP5Q8WTE4Q7dbtjejGxTYLpEcDjEZ+Wc3Stzwx2Vz+xK1IPR8MnPUt8zoLP4SjkBhUDLBf+30Yr7udXzjhxFo/d0ayjnyff397QU0KX/m8NbMR+x3t4A8YS78nKMAWveYGJEFRYvHmvt3j5nb3kQiOBreudrUUwTiJ7fNemH5+Koqo4QbHX9HEeZMjJGXPFdOcFED3ObLMxH3Vn2ZRj7M9FG+22WVX8SsTgu1fHEGAZ0pC6o3V11eKBfMogpwjo/8sTQ/djv5D0Du47Vm5zvRZADYA0U/7N6AOYr+/6cqUHtExkTQLhFmAJ/l9dZOtJ47tA1egCLHMqJtn6dZEReBtUteXg/1z5vXMOOZoOd2cxh/WQ10r8zoz4k86mjD+GoLq1o3PY9xdgFAvBpns21tYay02voX6wWGErMyfyWqgD4GXGBTYSeFF9ZSxbwN9i9zugUUWFLNZiwSLXsWu9u2dTcRB/srCa4EZUm364ftD/ElpudMQU0VAvIfbtWWxhgiPT4A=
- secure: gg1yLT0wQu3Mt7pdGG0/SwH79kIDNflohtkmEFgqOJlYD6xNN8IaEfVPoISM0qoP1tR8fmL6BAcXrT6MRLWFfrdPCCRS2MVOsfTYwcPXAKDHfje9DLFuRIgJlfvwkIBDXrGUFxUnoD/rluPmGU/tfG7g9ZJ2jgk95ORc7JlbWJ9gnnJ85ZZ39Fw9lV/B6hGEw06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hn6P7pPS+jt3k/5T+34uRlCYt+rgqUvdTST2l3a1Rp2d8Vi9l34iNO71rrkIZc0qcZcePeppDqUTIKuePADZniLK37i6FId881SAJtReLKYB6Y=
before_deploy:
- mix escript.build
- docker build --rm -t echo-service-elixir ./
- docker tag echo-service-elixir ${DOCKER_HUB_USERNAME}/echo-service-elixir:latest
- docker login --username=${DOCKER_HUB_USERNAME} --password=${DOCKER_HUB_PASSWORD}
deploy:
provider: script
script: docker push ${DOCKER_HUB_USERNAME}/echo-service-elixir:latest
skip_cleanup: true
on:
branch: master