-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (33 loc) · 1.42 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
dist: xenial
language: python
python:
- 3.7
- 3.7-dev
- 3.8-dev
services:
- docker
install:
- pip install --ignore-installed -r requirements.txt pytest
- python setup.py install
script:
- make -e test
jobs:
include:
- stage: release (edge)
script: make -e DEFAULT_DOCKER_TAG=edge DOCKER_TAG_VERSION= release-docker
name: Build and release docker "edge" image
- stage: release
script: make -e release
name: Build and release docker image
stages:
- test
- name: release (edge)
if: branch = master AND type = push AND sender = tmacro
- name: release
if: branch = master AND type = push AND sender = tmacro AND tag IS present
env:
global:
- secure: fL7diVhkIgFXk4xN5fe38mN8ZgtmzIX1mcEFSv514g71uHX7lf962UJYYLQkLsGOspBkWhkvII/ZuWSaCxngxflKqVnqFW81w/5oUuNntR50FRo+fssEpHzhLzMDxSGIbDJMzcHxpQYFyyKrN88WE0cByLgV2E3/n42Q6dRVESvjb5AD4kqxlFoesmmpJITXnxs4f6oi4sJCWQl7CW3Vetu7orfH63vfZF+pHCTo0paox/dR/U9y4elqk495gsE3VBqICw7BPzoTe+tteqg10HLrk16foF5sQ0nugfzZsB39449RntpV7CwMF3m6gMh21xXVYU3ALVbjJSZ5rA4JR+k2+N1LVphznQYcWn3WFgISEeDaTTF+wvv6UflqhnBMChl4VjlW8ykadhid95j5TgGAME36JIDGlZ0x8plFEBnkKxrVihDaAICHDKX0stqm+7/uufU+1LDlUdfIee1dxdm6jbBCyJBjRXSwAKwmtdTTRorJd8p04zU71tRET2vXPlvGL2SGIuuFDKKB7lHF0b1lzRsllmyTTwqbBtg8MdCHTx9NUKahyhRvRPWuP3DRi/e/X4T/7FPcIj0m1UUv3sJqN+kGY4ZTmn0vjuS6j2/jY6iBjK+oyMvzq3PsEawF73Ly1m1t8h/lVXG89ZCbeLiVt/Kn95DlnIoqoETJHP8=
- DOCKER_LOGIN=true
- DOCKER_USERNAME=tmacro
- VERBOSE=true