From 5debe6bc809aafd3baf6c3403558185c19eb79ea Mon Sep 17 00:00:00 2001 From: Tal Einat Date: Sat, 8 Jul 2017 16:05:06 +0300 Subject: [PATCH] WIP: generate macOS wheels on TravisCI --- .bumpversion.cfg | 2 +- .travis.yml | 82 +++++++++++++++++++++++++++---------- setup.py | 2 +- src/fuzzysearch/__init__.py | 2 +- 4 files changed, 64 insertions(+), 24 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 01479c1..0fde870 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.4.0 +current_version = 0.4.1 commit = True tag = True diff --git a/.travis.yml b/.travis.yml index b527b2d..1cf2800 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,29 +1,53 @@ sudo: false # use Travis's container-based infrastructure language: python -python: "3.5" -env: - - TOXENV=py26-without_coverage - - TOXENV=py27-without_coverage - - TOXENV=py32-without_coverage - - TOXENV=py33-without_coverage - - TOXENV=py34-without_coverage - - TOXENV=py35-without_coverage - - TOXENV=py26-with_coverage - - TOXENV=py27-with_coverage - - TOXENV=py32-with_coverage - - TOXENV=py33-with_coverage - - TOXENV=py34-with_coverage - - TOXENV=py35-with_coverage +os: + - linux + - osx matrix: - include: - - python: "3.6" - env: - - TOXENV=py36-without_coverage - - python: "3.6" - env: - - TOXENV=py36-with_coverage + - python: "2.6" + env: + - TOXENV=py26-without_coverage + - python: "2.6" + env: + - TOXENV=py26-with_coverage + - python: "2.7" + env: + - TOXENV=py27-without_coverage + - python: "2.7" + env: + - TOXENV=py27-with_coverage + - python: "3.6" + env: + - TOXENV=py32-without_coverage + - python: "3.2" + env: + - TOXENV=py32-with_coverage + - python: "3.2" + env: + - TOXENV=py33-without_coverage + - python: "3.3" + env: + - TOXENV=py33-with_coverage + - python: "3.3" + env: + - TOXENV=py34-without_coverage + - python: "3.4" + env: + - TOXENV=py34-with_coverage + - python: "3.4" + env: + - TOXENV=py35-without_coverage + - python: "3.5" + env: + - TOXENV=py35-with_coverage + - python: "3.5" + env: + - TOXENV=py36-without_coverage + - python: "3.6" + env: + - TOXENV=py36-with_coverage install: - pip install coveralls @@ -40,3 +64,19 @@ after_success: coveralls ;; esac + +deploy: + distributions: "bdist_wheel" + on: + all_branches: true # TODO: REMOVE!!! + #tags: true + os: osx + repo: taleinat/fuzzysearch + - provider: pypi + user: taleinat + secure: + password: "FjE1JyQWuFkhwIwgmqkWqXC23qw+F4B6qpopFi6Ry53CbzA1RtJkET73WUhkJqxlQVQZ0yrPwOevs/bJlk19vzu3tHHJ5AXzIF8DLb1D1Qvc11Kso0RQXkdW2nanHSI/nuy54jgij0PF7JivMwavZybKUxy8K9ZZmueM3OT+2XA=" + - provider: github + user: taleinat + secure: + api_key: "Qb9+9bcMJZpBOvkrPiTElyosk7VUtOxRpQGUFF8SAkjDidWrdtKU4tscS4eJXpquFyKeP6UkFrHcCRg0LetsSK2WJokk1pa2IIaYIP/XaAhOfAMbGxCYs2hIs/g/BMejvgxO0/BrvZqXy/que4YZBwM+pIU8y8jw+Lhic4pd9g8=" diff --git a/setup.py b/setup.py index cfcbe45..cb6dfef 100644 --- a/setup.py +++ b/setup.py @@ -105,7 +105,7 @@ def run_setup(with_binary=True): setup( name='fuzzysearch', - version='0.4.0', + version='0.4.1', description='fuzzysearch is useful for finding approximate subsequence matches', long_description=readme + '\n\n' + history, author='Tal Einat', diff --git a/src/fuzzysearch/__init__.py b/src/fuzzysearch/__init__.py index 3783442..29065b8 100644 --- a/src/fuzzysearch/__init__.py +++ b/src/fuzzysearch/__init__.py @@ -13,7 +13,7 @@ Example: """ __author__ = 'Tal Einat' __email__ = 'taleinat@gmail.com' -__version__ = '0.4.0' +__version__ = '0.4.1' __all__ = [ 'find_near_matches',