-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
15 lines (14 loc) · 1.76 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
sudo: required
services:
- docker
script:
- docker build -t stocard/gotthard:$TRAVIS_COMMIT .
- docker tag stocard/gotthard:$TRAVIS_COMMIT stocard/gotthard:latest
after_success:
- if [ "$TRAVIS_BRANCH" == "master" ]; then
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" && docker push stocard/gotthard:$TRAVIS_COMMIT && docker push stocard/gotthard:latest && docker logout;
fi
env:
global:
- secure: kJoFv/iQdHso3trzGzFmxTCfNCsJ2baOxD+2PR0WiAglql0r+7+NhlHuEU2qg/d5yc3TlMS0TgPazAqWzbR/y1vIKHWfyv76LAiYEMlpvkQUcIh+IkXDnzTVmOrVOQrL4U10gV2ogVDasYPAl2dxVG90q3rEXwWEhjOxbQXEU7O4F4eF/YsJx+CRsGP++H853P4OhEgBzTyYWHa7MS0p4F5R17PeNVBeUivtQy27WACcXDsxfmvZF7PxmjTj2+PeH4iSOMOuRY3OIbMM068ywqPEi8+rSIcQfr5S4KA7oyZDAgus9j2wOtEZRr8achnE3yvoQzjnjrxgbBl1VVEXctVJ9fKXvEDj21LrtlIXxc1/ldemO37Pxt0z7ZcNDNgo3Lxh3fR/jlz9C0oGhvxJMmW2nSo2mPb+MHB+O0ik5Yr9ZZYABsHQAEqRQQrVbTsLVgFB8cMfZQ9Gnr8nz+Nv9eePfQnlO+/hUXtK2kTDD5Cqslust2OPkzN03wKw3CQhtwUaiNY+0YmqI+virVGaLSmPEriBvcPFHzTrO+hj2Zv/N303DUqNnl8okrxyODNbqGf1mgvjYMgCxxHncD5hfEyqJ/c/kh68SEpVZg6WkBp34cMBPuvJ/bM4yCY8k7450ITmXymePMCP3NpyzA3z0eECixhvKKfaV4OfSF8YbOw=
- secure: WN5xuiS6zF6vibp2psyBo7HvXLwVxnMWJHJ5cJdSutkQBbbJDpvZ2F+gDAOdYk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