Skip to content

Commit db1bf9c

Browse files
author
Dzmitry Humianiuk
authored
Merge branch 'master' into master
2 parents 0435838 + cc6ee87 commit db1bf9c

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

.travis.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
stages:
2+
- test
3+
- name: deploy
4+
if: tag IS present
15
language: python
26
python:
37
- "2.6"
@@ -8,6 +12,22 @@ python:
812
install:
913
- pip install pep8
1014
before_script:
11-
pep8 .
15+
- pep8 .
1216
script:
1317
- python setup.py -q install
18+
jobs:
19+
include:
20+
- stage: deploy
21+
python: '3.6'
22+
install: skip
23+
before_script: skip
24+
script: skip
25+
deploy:
26+
stage: deploy
27+
provider: pypi
28+
on:
29+
tags: true
30+
distributions: sdist bdist_wheel
31+
user: reportportal
32+
password:
33+
secure: <PyPI password encrypted using "gem install travis && travis encrypt --add deploy.password">

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
from setuptools import setup, find_packages
22

3+
__version__ = '3.2.0'
4+
35
setup(
46
name='reportportal-client',
57
packages=find_packages(),
6-
version='3.2.0',
8+
version=__version__,
79
description='Python client for Report Portal',
810
author='Artsiom Tkachou',
911
author_email='[email protected]',
1012
url='https://github.com/reportportal/client-Python',
11-
download_url='https://github.com/reportportal/client-Python/tarball/3.2.0',
13+
download_url=('https://github.com/reportportal/client-Python/'
14+
'tarball/%s' % __version__),
1215
license='GNU General Public License v3',
1316
keywords=['testing', 'reporting', 'reportportal'],
1417
classifiers=[],

0 commit comments

Comments
 (0)