Skip to content

Commit

Permalink
Merge pull request #35 from cumulus-nasa/use-py-27-build
Browse files Browse the repository at this point in the history
use python 2.7 for publishing to pypi and github release
  • Loading branch information
sethvincent authored Feb 26, 2018
2 parents 72b91cf + fec1881 commit 6c9c943
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
CUMULUS_ENV=testing nosetests -v -s
publish_github:
<<: *container_python36
<<: *container_python27
steps:
- checkout
- add_ssh_keys
Expand Down Expand Up @@ -138,31 +138,28 @@ jobs:
fi
publish_pypi:
<<: *container_python36
<<: *container_python27
steps:
- checkout
- *restore_cache_python36
- *restore_cache_python27
- run:
name: Deploy to PyPi
command: |
pip install --user virtualenv
~/.local/bin/virtualenv ~/venv36
. ~/venv36/bin/activate
~/.local/bin/virtualenv ~/venv27
. ~/venv27/bin/activate
pip install twine
python setup.py sdist
twine upload --username "${PYPI_USER}" --password "${PYPI_PASS}" dist/*
workflows:
version: 2
build_test_27:
build_test_27_publish:
jobs:
- build_python27
build_test_36_publish:
jobs:
- build_python36
- publish_github:
requires:
- build_python36
- build_python27
filters:
branches:
only: master
Expand All @@ -172,3 +169,6 @@ workflows:
filters:
branches:
only: master
build_test_36:
jobs:
- build_python36
2 changes: 1 addition & 1 deletion message_adapter/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = 'v1.0.0'
__version__ = 'v1.0.1'

0 comments on commit 6c9c943

Please sign in to comment.