forked from Gepardec/docker-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 3.63 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
version: "~> 1.0"
os: linux
language: shell
services: docker
notifications:
email:
on_success: never
on_failure: never
slack:
if: branch = master
rooms:
secure: YZYwVjd1oqoV3NYIGony8DuPn9DUbY8MepFgHO4I/G/qMBha1UHfWi3iZE9eC5ryr2G7kJJOZkLWQJRjKlOLtPALLhsYlgYhCuTe5rfZ7z9zcFyNw7EIDvj12DbE0OMo3axZlPH+zqBfwkYMMzFb9jcf4dYLyX7uz+2jkeSN4FmeiS0pOTGjHEzJr4YGqSpbMCk8ilrJgzkE8H54897sioP5C5311ivRH4gImeWT+Ml7KPsLZqsmGYu2VutlWurekZm464Ovwy3XL5CFUWu5U7Z2phQwR16H+JplIfIs9Pj9j4cn+VU2Q+3Xc1rM0Td+wf9fy2eOftNfqPQNY73qwBN2rsndwJ/0hB8/yUuM4JeVoSSQjQwjlA0rhKOAjibd7llFFGoXAr49pUZtyUv7Wp7HDOi6ggkr4N/4OkoXH9FuWgo/LcIMb9/xlvu9zP+phc1ZwkT7FTe8WvgKaotTMul0kEudRQn79OoWOJ3YU1jIRRs8+GgvSzflYuED8vSe9q5+BxrWha5WbDEywmQ9B+m72ooff2do1gvujlWU2ftnle4R8khUrAx8x8HDxfSXICXqFtcn8mwyvytwtgb6icJbZZEc1q0OIpX2J1x9SqlygmuErm+cbanvBTxrkX/D2jZYdEIsXRntr0nVs1Q1+uImOgpyVLaQDNzE8ry3sRo=
template:
- "%{commit_subject}"
- build <%{build_url}|#%{build_number}> (<%{compare_url}|%{commit}>) @%{branch}
- by %{author} %{result} in %{duration}
on_success: change
on_failure: always
env:
global:
- secure: T3nA4PTr+XXZPIlbZZn//EImCzHYmtSui6WJOZ11qjubISUpABukslGUf1SlkEJrgtw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YN7MNMSMECU/jkp+FN7LtmJtyJTUaxfPk41iOiA0oysdRmZD4eLAggqoey0H/2APBp02AiQhGeHNDs3yF+5kNt5oPVQ0AQoAyoUZOVlpXzH084u+OOcYqPbsApasUfIawDS2BgT177TGeztjnlnfIaS4T7MWmr4FKbZR9jm0rb6i2QO1TaFH3zWpWauZVQTTOHY2S40M7e/uG6N693CRA3vBBXRn0amDiY=
- secure: PmThQwQ+njs4ms3zDIipXMjIxrAf0y1q77F8EieaSVK0YemX+MFLOv9q3QagoRBpmMlBBe/IsTpfXH8RHLTLmpmT+UNuq0Jn46AKetgOisT6xU9I824jn71I1fTajq0RaEe54ELWfLRPrk3waCa71/5l03ASOKnVSd24z+q0TzUX8pwWW7zotVIxKcKy0N/QFfGXi3ekeoJyEV+W8vcRUpqGfB5TLPnF2y8M5FjFSkdH3BtrPDocJBck4pBQxLWKhmw3i5re4N5YkBCp4bsvYwGOmXGMCAB9ZQb4mXaPRsCkp5zd/L44owLYkvoJdO/10U3CIhAWdyMw9irNzXAOdpDYjHz6fZUwZP3QslB0U2o27PwcfMClwUvGalYqkYbuEOi1nqbM10kN1wbI0q7tYYM4+u1dZE8FLR4oTjKut9UcdgI5EdwCmTxxZKeOU8bzIDclTlCWGRV5vFORnO6p1Fp9JQ2mhWRUh4lgSHq/eRgVwm3Bd/pcElSnV4yQtJNfoP3hP7Z7bJdOX6BKTeB+lhCEj/Tv3t/gtzWWuD4QVCVG8/wGUoAAvYKLpzMS8oDfGTyV3oNsqTnm6MVnfycmV1xHrGFBnqU+TMl37nhvdqsHTCYWTYSiqrY2yMaA0+khKfOBGHmqLwktg7kTBrRAYmGTSx8WwvpYMAkv8iTcAj4=
before_install: curl -sSL https://raw.githubusercontent.com/ckaserer/bash-script-collection/master/bash-fetch-script-collection.sh | bash
script: .ci/test.sh
deploy:
provider: script
script: bash bash-script-collection/container-image-push.sh \
--image gepardec/hello-world \
--username ${DOCKER_USER} \
--password ${DOCKER_PASS}
skip_cleanup: true
on:
branch: master
after_failure:
- |
if [ "${TRAVIS_BRANCH}" == "master" ]; then
./bash-script-collection/googlechat-send-notification.sh
fi