File tree Expand file tree Collapse file tree 5 files changed +48
-0
lines changed Expand file tree Collapse file tree 5 files changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ github :
3
+ owner : getsentry
4
+ repo : sentry-python
5
+ targets :
6
+ - name : github
7
+ - name : pypi
Original file line number Diff line number Diff line change @@ -9,13 +9,34 @@ python:
9
9
- " 3.6"
10
10
- " 3.7-dev"
11
11
12
+ branches :
13
+ only :
14
+ - master
15
+ - /^release\/.+$/
16
+
12
17
matrix :
13
18
include :
14
19
- python : " 3.6"
15
20
script : tox -e linters
21
+ - python : " 3.6"
22
+ env : DIST=1
23
+ script : make dist
24
+ after_success :
25
+ - npm install -g @zeus-ci/cli
26
+ - zeus upload -t "application/zip+wheel" dist/*
16
27
17
28
install :
18
29
- pip install tox
19
30
20
31
script :
21
32
- sh scripts/runtox.sh
33
+
34
+ notifications :
35
+ webhooks :
36
+ urls :
37
+ - https://zeus.ci/hooks/7ebb3060-90d8-11e8-aa04-0a580a282e07/public/provider/travis/webhook
38
+ on_success : always
39
+ on_failure : always
40
+ on_start : always
41
+ on_cancel : always
42
+ on_error : always
Original file line number Diff line number Diff line change
1
+ dist :
2
+ rm -rf dist build
3
+ python setup.py sdist bdist_wheel
4
+
5
+ .PHONY : dist
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -eux
3
+
4
+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
5
+ cd $SCRIPT_DIR /..
6
+
7
+ OLD_VERSION=" ${1} "
8
+ NEW_VERSION=" ${2} "
9
+
10
+ echo " Current version: $OLD_VERSION "
11
+ echo " Bumping version: $NEW_VERSION "
12
+
13
+ sed -i ' ' -e " 1,/^\s*version=/ s/version=\" [^\" ]*\" /version=\" $NEW_VERSION \" /" setup.py
Original file line number Diff line number Diff line change
1
+ [bdist_wheel]
2
+ universal = 1
You can’t perform that action at this time.
0 commit comments