Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ install:
script:
- flake8 connect
- pytest --cov-report=xml --cov=./connect
- sed -i "s/version='0.0.0'/version='${TRAVIS_TAG}'/g" setup.py

after_success:
- bash <(curl -s https://codecov.io/bash)
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"""

from os.path import abspath, dirname, exists, join
from os import environ
from setuptools import find_packages, setup

try: # for pip >= 10
Expand All @@ -25,7 +24,6 @@
'sdk.txt',
), session='None')

VERSION = environ.get('TRAVIS_TAG')
PACKAGES = find_packages(exclude=['tests*'])

DOC = ''
Expand All @@ -35,7 +33,7 @@
setup(
name='connect-sdk',
author='Ingram Micro',
version=VERSION,
version='0.0.0',
keywords='sdk connect connect automation',
packages=PACKAGES,
description='Connect Python SDK',
Expand Down