-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (46 loc) · 5.33 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
language: python
python: '3.6'
services:
- docker
env:
global:
# In Travis CI, Pipenv would itself run within a virtual environment. The following forces pipenv to ignore that environment and create its own instead.
- PIPENV_IGNORE_VIRTUALENVS=1
install:
- pipenv sync --dev
jobs:
include:
- stage: staging_master
env:
- DOCKER_USERNAME=thinow
# DOCKER_PASSWORD=[secure]
- secure: eKN6jWY5oHq1P9xegCwM9vx9CZPHKW7tY7N8XlzzmsZ1I/KyNgH6laZDnXk29fW6H8pSo4GRqfPew5b2t7HKhhWcGHbLxZjzTf/E4i4btODoB7SAsvf1mDg1kTU8NT5+cLJeQPjmD417B8ql/cKDQ3aGUnPqDj90wtGOOnijFev3ViaGo0XhIY1bqcnbvGy5zc8eqJrWmeIcgnfeVIHQLfYNTAigNT2HtTIpZWOb9bNvVB/9QRL8t0MVdBJbRtVbz8yh45lb0eGGQzbJdm6lqMmkk763ILV1MtaFHwfzjYhnnJCmGDOtI0QFX9gmiaQXEUFbm6ogIjq+qVtW+7gw/qKR8aCsAshA8zqOML3ZqxOfEra3YuEzZdCNazajukU2Nz6PuV92Yw/QVnpXFh8rnjq+xL7J7bSwA0og7uBwDKIBlvSroCs5B6nmo5AZ5swqBa4xsc888K3ROZimu0QVh/bEBcZBeEHWtbuwhh52J7c7rpaxSCECgvw/zxrwjbvVfjOYSUJ0d2NKHpsaQNxrkfwP5qhCuD4AiA/zdVQMbrq1dISlQm27k7We9xZcfBeAO8TBcgtpS9C6qJVo1YoJ5M4UkGNJ4RTUtKZIAXKAzkIWIui1GyYuBvPqEWGWUGxdQkOxmwdj96XnzRz5rGRNzRQ6PxU8p+VhHwTQiLOTmqg=
- TWINE_USERNAME=__token__
# TWINE_PASSWORD=[secure]
- secure: BzunqiCNI1Bm/GfK+ucg2XOA14l0yA4oQIkRnMRDOncd+2oxHwTzbi8tjzBZ5P0SD+YvQLmWMsDtfJZRsFq5/NVVyoTvtMWxWTzWcUDrWYS4PyYCv332sKLsj3PakJ2lYXNCGAKjd/WM0tbgwrBfmX9o9wJfKdD/OSUaeudnFdfJn1sxfEC+RGXSmbTSyaLDB50MfTe1Z0x8qNg1elw63snnSWobY73+w7ujx3HCfnzFYxz2D72CLmj7X1VmYckWmzcXzdL5nttNU3uDPWSkFy64EO6P4Wih/AnHxo9mtyDTQ+CiS96J4wtV4pcqbvpinoCOaaGoegyze9ilBrSG+vhHAhnzGWsBBJaWfh/wTVW1hO0m5jE6eEX0BEuT8HOtB2Lso74PIC1ps2gQfM6ZR94qyAYUgNmto8jgxzh+bl0j8ejJhiDqTjo+3SK8SDg/TEzUc9r1XV8kp/ThWwJ6tYJtscYfjXyHeyP/oQnbo/MV2t3ik9oJgsXco57BixSpcchHEf+knE4QNAyVch5h9nMpV7NA+X8DbVQvM/P+WKzDT4BAkeUnpVad06Ayw10f33CE8lmgPiUSaQgqL/xTALPOU/8M1fpZH9OSJEnD5PwvmS9xpwoHXDEVSLW6D2Ux80tVW1/Corg4pxZ+w1EeElCfZ9hctoReisA9wiWzIQ4=
script: ./travis/scripts.sh staging
- stage: staging_develop
env:
- DOCKER_USERNAME=thinow
# DOCKER_PASSWORD=[secure]
- secure: njMv5FsuAhiLfb8RxU1kH2ET8KQFM6vmuyEXzoUpU+xa1u3d2fxSPy+VPPx7rLPu0K3HDHOAuZBiLyAn4m2ogWqmbMHYA9pnoq24IkNIZmkft1zQ8DXUgv4mYnufMwTgDTuWGzeDmN/dmBj4fixsNj06YXHVZqeXx5wB4e6fGWaAgaiqPwnx6/wFhM0zsDYjTv0C5Xob0Zjp6ijTOAf7zBdnGNz9gMe70GswpE9d70Mf6j2q/LgkqgT/DNYGgd4h/gYuTUiujTH5HvBxGo//ND5a7Q2N8O3E5B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FPB/7id9g3PnTwY+gqy8xvqfAo=
script: ./travis/scripts.sh staging
- stage: production
env:
- DOCKER_USERNAME=thinow
# DOCKER_PASSWORD=[secure]
- secure: eKN6jWY5oHq1P9xegCwM9vx9CZPHKW7tY7N8XlzzmsZ1I/KyNgH6laZDnXk29fW6H8pSo4GRqfPew5b2t7HKhhWcGHbLxZjzTf/E4i4btODoB7SAsvf1mDg1kTU8NT5+cLJeQPjmD417B8ql/cKDQ3aGUnPqDj90wtGOOnijFev3ViaGo0XhIY1bqcnbvGy5zc8eqJrWmeIcgnfeVIHQLfYNTAigNT2HtTIpZWOb9bNvVB/9QRL8t0MVdBJbRtVbz8yh45lb0eGGQzbJdm6lqMmkk763ILV1MtaFHwfzjYhnnJCmGDOtI0QFX9gmiaQXEUFbm6ogIjq+qVtW+7gw/qKR8aCsAshA8zqOML3ZqxOfEra3YuEzZdCNazajukU2Nz6PuV92Yw/QVnpXFh8rnjq+xL7J7bSwA0og7uBwDKIBlvSroCs5B6nmo5AZ5swqBa4xsc888K3ROZimu0QVh/bEBcZBeEHWtbuwhh52J7c7rpaxSCECgvw/zxrwjbvVfjOYSUJ0d2NKHpsaQNxrkfwP5qhCuD4AiA/zdVQMbrq1dISlQm27k7We9xZcfBeAO8TBcgtpS9C6qJVo1YoJ5M4UkGNJ4RTUtKZIAXKAzkIWIui1GyYuBvPqEWGWUGxdQkOxmwdj96XnzRz5rGRNzRQ6PxU8p+VhHwTQiLOTmqg=
- TWINE_USERNAME=__token__
# TWINE_PASSWORD=[secure]
- secure: dWQrdn7JZlP8kJUVrP1j8QOl78OdzqJpasxC8lfGvG0P9J/EIXUnaY3PAEFC7M51M3FAfSTA4KKihUTaOR/YtxYpszvGJyRwkEafowY/RUgTew4fX6yYk5e7CU7m4QxTWzGWV+jHc6gebEzYsMpVJRT4+ASqKHfguDPCYrbFzFIfJbbX+1Il+WKfy2t/lRWYSVJuk+EsClATOfbN2KRmO3f20fY277Yp1VezxwU34bz56GCN7GRZjNzs3Oi0suVG/wlRxUXv1r4PTbgAbphNkORgvhoWNU18Zfyd84zeM/2a7qvs6ASssINnkPFN2rdSIJKtBDGn+6lhdI7i7n7UxeoBI1xGR0qMwedYyu7khFPNzisE67sxboyuF6a9rgU8faDYbB/FnApg6NIkNdT4zW8zfsjgmuNk2J4fPK8OVMgVmUp/F6n86qcTRP99pveAZy8sbyvQ1sbb6rMSBw4lKAjciHH5RWp8xWG/rG5Xd1jZuNw0ghVW5jsPvd6TaCqYRpUZzBfbAuldDqotkQjkHLV7ciDSsKzlT+o853aPEdA+fdYd03cFlZ9UCb9FK1qp/5f3ry9w9vy4YoJEg3Ayz393P5JT5TH81J6+t7EBTCtQUi7gM27n55XUPbF7/UF+s97a6oCO+oWcNHjfDRKwrM26xfmO/gJOPicFyk/CrSQ=
script: ./travis/scripts.sh production
stages:
- name: staging_master
if: tag IS blank AND repo = thinow/aws-kinesis-consumer
- name: staging_develop
if: tag IS blank AND repo = thinow/forked-aws-kinesis-consumer
- name: production
if: tag IS present AND repo = thinow/aws-kinesis-consumer