Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
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
36 changes: 16 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,38 @@
version: 2
jobs:
test:
test-py2:
docker:
- image: python:3.5
- image: python:2.7
working_directory: ~/python-client
steps:
- checkout

- run:
command: pip install --upgrade pip tox

- run:
command: |
command: |
tox -e lint
tox -e py35
pypi_upload:
tox -e py27

test-py3:
docker:
- image: python:3.5
- image: python:3.7
working_directory: ~/python-client
steps:
- checkout

- run:
command: pip install --upgrade pip tox

- run:
command: |
pip install --upgrade pip tox
tox -e build_pypi
tox -e lint
tox -e py37

workflows:
version: 2
test:
jobs:
- test
pypi_upload:
jobs:
- pypi_upload:
filters:
tags:
only:
- /^[0-9]+.[0-9]+.[0-9]+$/
branches:
ignore: /.*/
- test-py2
- test-py3
2 changes: 1 addition & 1 deletion requirements/prod.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
elasticsearch>=2.0.0
pymongo==3.7.2
pymongo==3.8.0
redis>=2.0
requests>=2.0.0
six<2.0
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
from setuptools import find_packages
from setuptools import setup

VERSION = ('0', '5', '2')
__version__ = '.'.join(VERSION)
__version__ = '0.6.0'

with open('README.md') as f:
readme = f.read()
Expand Down