forked from NCI-GDC/mutect2-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (35 loc) · 2.13 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
language: python
python:
- '3.7'
services: docker
git:
depth: false
install: make build
stages:
- name: test
- name: publish-release
if: branch = master AND type != pull_request
- name: publish-staging
if: branch != master AND type != pull_request
jobs:
include:
- stage: test
name: Test Docker
script:
- make version version-pypi
- make test-docker
- stage: publish-staging
name: Publish staging image
script:
- docker login -u="$QUAY_USERNAME" -p="$QUAY_PASSWORD" quay.io
- make publish-staging
- stage: publish-release
name: Publish production image
script:
- docker login -u="$QUAY_USERNAME" -p="$QUAY_PASSWORD" quay.io
- make publish-release
env:
global:
- BRANCH_NAME=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}
- secure: fcPoE+6OWPDUtkT8IncA5Wm1/99Sp+MLO5K0EPWEPscFl+MEQtDZEYk2MtJmfeUyx5u/ByV/Ur00PIlNssaRgGzYDOjPxV0JhSkq6HkkAehJFninCTIj7QhwEZKruzJipsiaPiIZrkdX3JScnkRxi8Z6czt26WTnf5wdyomjId3hrUv7mmpeFT7XUFhnbPMc1OscH5xuqoRYk/bCVCWImd7J8Rx7LFh11lT8wrgfzEHXk2xOq+mHZprgF5M+vfgqe4gmdpc3amDzIpN1K/ZFXrcqEA4KtrTYJ8Nc18iQUKBRKApvIVmXCV2ock8RhuZsopU4KIf3yIqPMAFas+PVfEQYUs3DTAKzzLpXLmOGgzd/DRPNsYs0XWXypK7PWCPfVsqYMS3HahNdiyKo1i3qKAiWrITQ1l1rx/E1+B7R9GDUNGYlAb5VF3tTA5ZeFcO2HybV5UbjRry4sCUg3KOrKhpJuWOOthtVIONX48snrEoznUV6JXuARLEg8Rqrfra0WGhoUPrEbK0USSckdlfwOb1s4BuIyBnb2/+Mj5f5BU60EZMpHsRlI6mLv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