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:
99 - " 3.6"
1010 - " 3.7-dev"
1111
12+ branches :
13+ only :
14+ - master
15+ - /^release\/.+$/
16+
1217matrix :
1318 include :
1419 - python : " 3.6"
1520 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/*
1627
1728install :
1829 - pip install tox
1930
2031script :
2132 - 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