-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (32 loc) · 1.43 KB
/
.travis.yml
File metadata and controls
39 lines (32 loc) · 1.43 KB
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
---
language: python
sudo: false
python:
- "3.6"
services:
- docker
env:
global:
- secure: "QisIDWCGMNuaqIEJakaduL9Trdia2nh2qIjhlsIoY08eImlHDi3wbergOApzPG6pEFJekn6ipzAnPORzHn1OytwGFegw5CPpZEfNlcxPfYsCnjtz1fJGFuoRDhAH9dF/aIdF6zK9Tn5GErFy1d+FZJAjMTzwZ9r94DKiXM9xFs/CcP9OeCYZLepFXIa8qeqO+GMOFzHTum1YY3BNXS8OD0qpV2c0Iizt5TRPTYCtl7sVjzlkbhu5V2SEMT1jRqMvIadozpm5U5G9fyQFzPRmJ1NUrLLoR3IRU/WZZaYhdY+56D4jJUFfchv0v8zRg8M8qT7UjpCq2rF7PFdD14aYiIBhEuJSUy9olK/kohYw31yj52/mqosPaGP23oqM1M0MGDA/Zvr0SqLsCAym/kVRca+ciKRVk81IgdywJLSJ9gsYOQWCRQAo5syWJlSRW3XPi1DC+Lxkozx11Sv/oCiV3JzX0SWTfMO4KRrySIibCJuFqEejt7aogxKoVjgEXJBO8jeKA5wD0IrPp83qJFd1ru2DrJViL6lY3cNTfMGYQJPEch62zoiyCF/l0FU+ik/hfLkGatBGnRGzIy85ayVZYzjlgBo2SVoGxdCHb9a3k2ZNUVp6n/uqSgbCMDlwu06nkhQ2ra4Sy+2FZvw5S4Diooi15uhTcnEDDUGi5TuSxpE="
install:
- pip install -U tox-travis
before_script:
- echo ${QUAYIO_PASSWORD} | docker login -u="datawire+releasebot" --password-stdin quay.io
script:
- if [[ "${TRAVIS_TAG}" == "" ]]; then
tox -e py36 && docker build -t quay.io/datawire/ambassador-auth-httpbasic:$(git rev-parse --short HEAD) .;
fi
after_script: []
deploy:
- provider: script
skip_cleanup: true
script: bash -c 'docker push quay.io/datawire/ambassador-auth-httpbasic:$(git rev-parse --short HEAD)'
on:
tags: false
branch: master
- provider: script
skip_cleanup: true
script: ./release.sh $TRAVIS_TAG
on:
tags: true
branch: master