forked from willtrking/thumbor_aws
-
Notifications
You must be signed in to change notification settings - Fork 70
/
config.yml
42 lines (40 loc) · 949 Bytes
/
config.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
version: 2
jobs:
build:
docker:
- image: bladrak/thumbor-dev-py3:latest
steps:
- checkout
- run: make test
deploy:
docker:
- image: bladrak/thumbor-dev-py3:latest
steps:
- checkout
- run: |
echo -e "[distutils]" >> ~/.pypirc
echo -e "index-servers =" >> ~/.pypirc
echo -e " pypi" >> ~/.pypirc
echo -e "" >> ~/.pypirc
echo -e "[pypi]" >> ~/.pypirc
echo -e "username:$PYPI_USERNAME" >> ~/.pypirc
echo -e "password:$PYPI_PASSWORD" >> ~/.pypirc
- run: cat ~/.pypirc
- run: make install
- run: make publish
workflows:
version: 2
build_and_deploy:
jobs:
- build:
filters:
tags:
only: /.*/
- deploy:
requires:
- build
filters:
tags:
only: /.*/
branches:
ignore: /.*/