From d7e661ce8ef88bb02223493413fc7a5451d51388 Mon Sep 17 00:00:00 2001 From: Olemis Lang Date: Thu, 27 Dec 2018 20:59:20 -0500 Subject: [PATCH 01/12] refs #85 - Release steps --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/README.md b/README.md index 4b00c013..43dd50cd 100644 --- a/README.md +++ b/README.md @@ -180,3 +180,51 @@ the available Docker images. Read the [PySkycoin Docker docs](docker/images/dev-cli/README.md) for further details. +The project has two branches: `master` and `develop`. + +- `develop` is the default branch and will always have the latest code. +- `master` will always be equal to the current stable release on the website, and should correspond with the latest release tag. + +### Running tests + +```sh +$ make test +``` + +### Releases + +#### Update the version + +0. If the `master` branch has commits that are not in `develop` (e.g. due to a hotfix applied to `master`), merge `master` into `develop` +0. Ensure that the submodule at `gopath/src/github.com/skycoin/skycoin` is in sync with respect to the `develop` branch of https://github.com/skycoin/skycoin . +0. Run `make build` to make sure that the code base is up to date +0. Update `__version__` in `skycoin/__init__.py` +0. Update `CHANGELOG.md`: move the "unreleased" changes to the version and add the date. +0. Update files in https://github.com/skycoin/repo-info/tree/master/repos/skycoin/remote for `skycoin/skycoin-python` Docker image, adding a new file for the new version and adjusting any configuration text that may have changed +0. Merge these changes to develop +0. Follow the steps in [pre-release testing](#pre-release-testing) +0. Make a PR merging `develop` into `master` +0. Review the PR and merge it +0. Tag the `master` branch with the version number. Version tags start with `v`, e.g. `v0.20.0`. Sign the tag. If you have your GPG key in github, creating a release on the Github website will automatically tag the release. It can be tagged from the command line with `git tag -as v0.20.0 $COMMIT_ID`, but Github will not recognize it as a "release". +0. Release builds are created and uploaded by travis. To do it manually, checkout the master branch and follow the [create release builds instructions](#creating-release-builds). + +#### Pre-release testing + +Perform these actions before releasing: + +```sh +make check +make integration-test +``` + +#### Creating release builds + +Release builds should be created from `master` branch . After [updating release version](#update-the-version) it is necessary to follow these steps + +```sh +cd /path/to/pyskycoin +python3 setup.py sdist bdist_wheel +python3 -m pip install --user --upgrade twine +twine upload --repository-url https://test.pypi.org/legacy/ dist/* +``` + From ff550b4b305eddbdf8568b5739de1241ab024a94 Mon Sep 17 00:00:00 2001 From: Olemis Lang Date: Fri, 28 Dec 2018 15:26:34 -0500 Subject: [PATCH 02/12] refs #85 - MIT license --- LICENSE.txt | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index c74aceda..3d6540d3 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,11 +1,14 @@ -Copyright (c) 2016 The Python Packaging Authority (PyPA) -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: +MIT License + +Copyright (c) 2018 Skycoin + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. From d670e0cf4bb11486e9d1f5de7a94877af4b1875c Mon Sep 17 00:00:00 2001 From: Olemis Lang Date: Fri, 28 Dec 2018 16:17:16 -0500 Subject: [PATCH 03/12] refs #85 - PySkycoin CHANGELOG --- CHANGELOG.md | 48 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 45 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88b62c92..19848e93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,21 +1,63 @@ # Changelog + All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## [Unreleased] +## PySkycoin 0.25.0 - 2019/01/01 ### Added +- Feature compatible with Skycoin `v0.25.0` +- Distribute PySkycoin under the terms of the MIT license - Add Python-specific SWIG interface files -- Add versions of Python3.4, 3.5 and 3.6 in skycoindev-cli:py3 image. +- Add `skycoin/skycoindev-python:develop` Docker image including Python `3.4`, `3.5`, `3.6`, and `3.7` ### Fixed +- Fix #73 - Wrong number or type of arguments for overloaded function `SKY_cipher_GenerateDeterministicKeyPairs` + ### Changed -### Removed +- Generate error codes from SWIG interfaces +- Define PySkycoin __version__ in a single place + +## PySkycoin 0.24.6 - 2018/08/06 + +### Added + +- Feature compatible with Skycoin `v0.24.1` +- PySkycoin usage explained in README.md +- Error code constants +- Implement functions receiving pointer to functions or GoSlices of type different than byte + +### Fixed + +- Fix #54 - Fix pip installation issue + +## PySkycoin 0.24.1 - 2018/07/23 + +### Added + +- Install from source with `make install` +- Implement `libskycoin` handles in Pyskycoin using SWIG typemaps +- Add comparison methods for cipher structure +- Treat as lists the functions parameters being go slices of type other than byte + +### Fixed + +- Fix #28 - Fix libskycoin C build using `make build-libc-static` +- Fix #30 - Fix random error in `SKY_cipher_GenerateDeterministicKeyPairs` +- Fix #38 - Pyskycoin compilation should reflect changes in skycoin header file + +## PySkycoin 0.24 - 2018/06/23 + +### Added + +- Feature compatible with Skycoin `v0.24.0` +- Initial source code base with generated C code for Skycoin Python extension module +- Feature compatible with Skycoin `v0.24.1` ### Known issues From 20083d86740bfc2707768908bae3235fbb442284 Mon Sep 17 00:00:00 2001 From: Olemis Lang Date: Fri, 28 Dec 2018 16:24:22 -0500 Subject: [PATCH 04/12] refs #85 - Updfate README TOC --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 43dd50cd..5d7ba485 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,11 @@ A Python extension generated with SWIG to access Skycoin API from Python. - [Memory Managemanet](#memory-management) - [Make rules](#make-rules) - [Development setup](#development-setup) + - [Running tests](#running-tests) + - [Releases](#releases) + - [Update the version](#update-the-version) + - [Pre-release testing](#pre-release-testing) + - [Creating release builds](#creating-release-builds) ## Installation From e4e642b84768717ab92d8472f65a0a796654df28 Mon Sep 17 00:00:00 2001 From: Olemis Lang Date: Fri, 28 Dec 2018 16:59:08 -0500 Subject: [PATCH 05/12] refs #85 - Document `next` development branch --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5d7ba485..b348d351 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,15 @@ details. The project has two branches: `master` and `develop`. - `develop` is the default branch and will always have the latest code. + The submodule at `gopath/src/github.com/skycoin/skycoin` has to be + in sync with `skycoin/skycoin` `develop` branch. - `master` will always be equal to the current stable release on the website, and should correspond with the latest release tag. + The submodule at `gopath/src/github.com/skycoin/skycoin` has to be + in sync with `skycoin/skycoin` `master` branch. +- `next` will be created if the next planned release is expected to be built + out of latest stable version of Skycoin. It should be started from `master` branch and + the submodule at `gopath/src/github.com/skycoin/skycoin` has to be + in sync with `skycoin/skycoin` `master` branch. ### Running tests @@ -201,7 +209,7 @@ $ make test #### Update the version 0. If the `master` branch has commits that are not in `develop` (e.g. due to a hotfix applied to `master`), merge `master` into `develop` -0. Ensure that the submodule at `gopath/src/github.com/skycoin/skycoin` is in sync with respect to the `develop` branch of https://github.com/skycoin/skycoin . +0. Ensure that the submodule at `gopath/src/github.com/skycoin/skycoin` is in sync with respect to the `master` branch of https://github.com/skycoin/skycoin . 0. Run `make build` to make sure that the code base is up to date 0. Update `__version__` in `skycoin/__init__.py` 0. Update `CHANGELOG.md`: move the "unreleased" changes to the version and add the date. @@ -212,6 +220,8 @@ $ make test 0. Review the PR and merge it 0. Tag the `master` branch with the version number. Version tags start with `v`, e.g. `v0.20.0`. Sign the tag. If you have your GPG key in github, creating a release on the Github website will automatically tag the release. It can be tagged from the command line with `git tag -as v0.20.0 $COMMIT_ID`, but Github will not recognize it as a "release". 0. Release builds are created and uploaded by travis. To do it manually, checkout the master branch and follow the [create release builds instructions](#creating-release-builds). +0. Checkout `develop` branch and bump `__version__` to next `rc` version number. +0. Synchronize with `develop` branch the submodule at `gopath/src/github.com/skycoin/skycoin`. #### Pre-release testing From ee22a9c8055a0bb5c185a3ddd1ac04c0eef0f588 Mon Sep 17 00:00:00 2001 From: Olemis Lang Date: Fri, 28 Dec 2018 19:17:35 -0500 Subject: [PATCH 06/12] refs #85 - Explain stable development branches --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b348d351..bddc6b74 100644 --- a/README.md +++ b/README.md @@ -193,10 +193,13 @@ The project has two branches: `master` and `develop`. - `master` will always be equal to the current stable release on the website, and should correspond with the latest release tag. The submodule at `gopath/src/github.com/skycoin/skycoin` has to be in sync with `skycoin/skycoin` `master` branch. -- `next` will be created if the next planned release is expected to be built - out of latest stable version of Skycoin. It should be started from `master` branch and - the submodule at `gopath/src/github.com/skycoin/skycoin` has to be - in sync with `skycoin/skycoin` `master` branch. + +Separate stable development branches will be created to work on releases for supporting the +most recent stable version of Skycoin. The name of these branches should be the Skycoin +imajor and minor version numbers followed by `dev` suffix e.g. `0.25dev`. +These branches may be forked out of either `master` or `develop` branches, and +the submodule at `gopath/src/github.com/skycoin/skycoin` has to be +in sync with the corresponding tag of `skycoin/skycoin` official repository. ### Running tests From 30ac80801969469585ebe0227b0a29c889ab4da5 Mon Sep 17 00:00:00 2001 From: Olemis Lang Date: Fri, 28 Dec 2018 19:26:46 -0500 Subject: [PATCH 07/12] refs #85 - Reasons for creating stable dev branches --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index bddc6b74..418214f5 100644 --- a/README.md +++ b/README.md @@ -201,6 +201,13 @@ These branches may be forked out of either `master` or `develop` branches, and the submodule at `gopath/src/github.com/skycoin/skycoin` has to be in sync with the corresponding tag of `skycoin/skycoin` official repository. +Stable development branches are created most of the time for the following reasons: + +- A Skycoin release increasing [patch version number](https://semver.org/). +- Enhanced support and bug fixes for a version of PySkycoin compiled against an + stable version of Skycoin +- Backporting useful features added in `develop`. + ### Running tests ```sh From d157f89547f35245b81d0c88983c51cbb47fe29d Mon Sep 17 00:00:00 2001 From: Olemis Lang Date: Fri, 28 Dec 2018 20:02:24 -0500 Subject: [PATCH 08/12] reefs #85 - Create release branch --- CHANGELOG.md | 1 - LICENSE.txt | 22 ---------------------- README.md | 11 +++++------ 3 files changed, 5 insertions(+), 29 deletions(-) delete mode 100644 LICENSE.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index 19848e93..70753edb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added - Feature compatible with Skycoin `v0.25.0` -- Distribute PySkycoin under the terms of the MIT license - Add Python-specific SWIG interface files - Add `skycoin/skycoindev-python:develop` Docker image including Python `3.4`, `3.5`, `3.6`, and `3.7` diff --git a/LICENSE.txt b/LICENSE.txt deleted file mode 100644 index 3d6540d3..00000000 --- a/LICENSE.txt +++ /dev/null @@ -1,22 +0,0 @@ - -MIT License - -Copyright (c) 2018 Skycoin - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md index 418214f5..60bfe6b5 100644 --- a/README.md +++ b/README.md @@ -219,19 +219,18 @@ $ make test #### Update the version 0. If the `master` branch has commits that are not in `develop` (e.g. due to a hotfix applied to `master`), merge `master` into `develop` -0. Ensure that the submodule at `gopath/src/github.com/skycoin/skycoin` is in sync with respect to the `master` branch of https://github.com/skycoin/skycoin . -0. Run `make build` to make sure that the code base is up to date +0. Switch to a new release branch named `release-X.Y.Z` for preparing the release. +0. Ensure that the submodule at `gopath/src/github.com/skycoin/skycoin` is in sync with respect to the corresponding tag in https://github.com/skycoin/skycoin repository. 0. Update `__version__` in `skycoin/__init__.py` +0. Run `make build` to make sure that the code base is up to date 0. Update `CHANGELOG.md`: move the "unreleased" changes to the version and add the date. 0. Update files in https://github.com/skycoin/repo-info/tree/master/repos/skycoin/remote for `skycoin/skycoin-python` Docker image, adding a new file for the new version and adjusting any configuration text that may have changed -0. Merge these changes to develop 0. Follow the steps in [pre-release testing](#pre-release-testing) -0. Make a PR merging `develop` into `master` +0. Make a PR merging the release branch into `master` 0. Review the PR and merge it 0. Tag the `master` branch with the version number. Version tags start with `v`, e.g. `v0.20.0`. Sign the tag. If you have your GPG key in github, creating a release on the Github website will automatically tag the release. It can be tagged from the command line with `git tag -as v0.20.0 $COMMIT_ID`, but Github will not recognize it as a "release". 0. Release builds are created and uploaded by travis. To do it manually, checkout the master branch and follow the [create release builds instructions](#creating-release-builds). -0. Checkout `develop` branch and bump `__version__` to next `rc` version number. -0. Synchronize with `develop` branch the submodule at `gopath/src/github.com/skycoin/skycoin`. +0. Checkout `develop` branch and bump `__version__` to next [`dev` version number](https://www.python.org/dev/peps/pep-0440/#developmental-releases). #### Pre-release testing From b5314ebfc28ee8c8a44708104ffc6fab416aa5d9 Mon Sep 17 00:00:00 2001 From: Olemis Lang Date: Fri, 28 Dec 2018 21:33:48 -0500 Subject: [PATCH 09/12] [release] refs #85 - Skycoin submodule at v0.25.0 --- README.md | 2 +- gopath/src/github.com/skycoin/skycoin | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 60bfe6b5..b57eaebf 100644 --- a/README.md +++ b/README.md @@ -218,7 +218,7 @@ $ make test #### Update the version -0. If the `master` branch has commits that are not in `develop` (e.g. due to a hotfix applied to `master`), merge `master` into `develop` +0. If the `master` branch has commits that are not in `develop` (e.g. due to a hotfix applied to `master`), merge `master` into `develop` (and fix any build or test failures) 0. Switch to a new release branch named `release-X.Y.Z` for preparing the release. 0. Ensure that the submodule at `gopath/src/github.com/skycoin/skycoin` is in sync with respect to the corresponding tag in https://github.com/skycoin/skycoin repository. 0. Update `__version__` in `skycoin/__init__.py` diff --git a/gopath/src/github.com/skycoin/skycoin b/gopath/src/github.com/skycoin/skycoin index 230c856b..dbf18a06 160000 --- a/gopath/src/github.com/skycoin/skycoin +++ b/gopath/src/github.com/skycoin/skycoin @@ -1 +1 @@ -Subproject commit 230c856be4b2ee105f97716704d38fe094aed44f +Subproject commit dbf18a068d25132bcb74d2d88954008955868168 From 56c0aadb9010bee6e26d40df1de89fcaf21edcb5 Mon Sep 17 00:00:00 2001 From: Maykel Arias Torres Date: Fri, 28 Dec 2018 22:12:08 -0500 Subject: [PATCH 10/12] [travis] refs #85 Added in travis deploy --- .travis.yml | 169 ++++++++++++++++++++++++++-------------------------- LICENSE.txt | 0 2 files changed, 85 insertions(+), 84 deletions(-) create mode 100644 LICENSE.txt diff --git a/.travis.yml b/.travis.yml index d99005e4..e8a4d3f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,93 +1,94 @@ -# this file is *not* meant to cover or endorse the use of travis, but rather to -# help confirm pull requests to this project. - matrix: include: - - os: linux - language: python - python: 2.7 - env: - - TOXENV=py27 - - PYTHON=2.7 - - os: linux - language: python - python: 3.4 - env: - - TOXENV=py34 - - PYTHON=3.4 - - os: linux - language: python - python: 3.5 - env: - - TOXENV=py35 - - PYTHON=3.5 - - os: linux - language: python - python: 3.6 - env: - - TOXENV=py36 - - PYTHON=3.6 - - os: linux - language: python - dist: xenial - python: 3.7 - sudo: true - env: - - TOXENV=py37 - - PYTHON=3.7 - - os: osx - languague: generic - env: - - PYTHON=2.7 - - TOXENV=py27 - - os: osx - languague: generic - env: - - PYTHON=3.4.8 - - TOXENV=py34 - - os: osx - languague: generic - env: - - PYTHON=3.5.5 - - TOXENV=py35 - - os: osx - languague: generic - env: - - PYTHON=3.6.5 - - TOXENV=py36 - - os: osx - languague: generic - env: - - PYTHON=3.7.1 - - TOXENV=py37 - + - os: linux + language: python + python: 2.7 + env: + - TOXENV=py27 + - PYTHON=2.7 + - os: linux + language: python + python: 3.4 + env: + - TOXENV=py34 + - PYTHON=3.4 + - os: linux + language: python + python: 3.5 + env: + - TOXENV=py35 + - PYTHON=3.5 + - os: linux + language: python + python: 3.6 + env: + - TOXENV=py36 + - PYTHON=3.6 + - os: linux + language: python + dist: xenial + python: 3.7 + sudo: true + env: + - TOXENV=py37 + - PYTHON=3.7 + - os: osx + languague: generic + env: + - PYTHON=2.7 + - TOXENV=py27 + - os: osx + languague: generic + env: + - PYTHON=3.4.8 + - TOXENV=py34 + - os: osx + languague: generic + env: + - PYTHON=3.5.5 + - TOXENV=py35 + - os: osx + languague: generic + env: + - PYTHON=3.6.5 + - TOXENV=py36 + - os: osx + languague: generic + env: + - PYTHON=3.7.1 + - TOXENV=py37 before_install: - # Sync to develop branch - # FIXME: Checkout skycoin/skycoin:master - - cd gopath/src/github.com/skycoin/skycoin && git checkout develop && cd ${TRAVIS_BUILD_DIR} - - if [[ $TRAVIS_OS_NAME == 'linux' ]]; then bash ./.travis/install-linux.sh ; fi - - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then bash ./.travis/install-osx.sh; fi - # Setup environment and PATH in MacOS - - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then export PYCMD_VERSION="$(echo ${PYTHON} | cut -d . -f 1,2)" ; fi - - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then export PYCMD_PATH="$(pyenv which python${PYCMD_VERSION})" ; fi - - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then export PYCMD_DIRPATH="$( dirname ${PYCMD_PATH} )" ; fi - - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then export PATH="${PYCMD_DIRPATH}:/Users/travis/.pyenv/shims:${PATH}" ; fi - # Define command aliases - - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then eval "alias python${PYCMD_VERSION}=$(pyenv which python${PYCMD_VERSION})" && eval "alias python2.7=$(pyenv which python2.7)"; fi - # Print system env info - - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then pyenv versions ; fi - - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then pyenv which python${PYCMD_VERSION} ; fi - - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then eval "python${PYCMD_VERSION} --version" ; fi - - echo "PATH=$PATH" - +- cd gopath/src/github.com/skycoin/skycoin && git checkout develop && cd ${TRAVIS_BUILD_DIR} +- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then bash ./.travis/install-linux.sh ; fi +- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then bash ./.travis/install-osx.sh; fi +- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then export PYCMD_VERSION="$(echo ${PYTHON} | + cut -d . -f 1,2)" ; fi +- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then export PYCMD_PATH="$(pyenv which python${PYCMD_VERSION})" + ; fi +- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then export PYCMD_DIRPATH="$( dirname ${PYCMD_PATH} + )" ; fi +- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then export PATH="${PYCMD_DIRPATH}:/Users/travis/.pyenv/shims:${PATH}" + ; fi +- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then eval "alias python${PYCMD_VERSION}=$(pyenv + which python${PYCMD_VERSION})" && eval "alias python2.7=$(pyenv which python2.7)"; + fi +- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then pyenv versions ; fi +- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then pyenv which python${PYCMD_VERSION} ; fi +- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then eval "python${PYCMD_VERSION} --version" + ; fi +- echo "PATH=$PATH" install: - - eval "$(gimme 1.10)" - +- eval "$(gimme 1.10)" after_failure: - - cat ./.tox/${TOXENV}/log/${TOXENV}-*.log - +- cat ./.tox/${TOXENV}/log/${TOXENV}-*.log script: make test-ci - notifications: email: false webhooks: https://fathomless-fjord-24024.herokuapp.com/notify +deploy: + provider: pypi + user: hanibal920915 + password: + secure: D1yWvwC929+Xic3W2G0RqrmBBlYUgaPvJcir2VWLGiQcoPUWHon0+JXTXIrltpAKO9+A5NQkzJSdbandbhASGNeISekrpBT2PB2YKQBB1Akl+7xXDFfblVK8KS02rwyCb/AFQcilZhymBKWjYC3MGP6aW7IhHDuIfXF+FC9/jh6dzE7ckPH8E27BP9sOfCosUMrG9RQKH7Q35hMXzTgjCpYw8mgp/fxGucaOia+K1EjLB2L7T1gzgs+vvgLKn0E2jfQQES643FSjT5xufXEFk0lezobxw41FEjKKlZ7LkY9FsibQi2uh/7GOxzOlZY5lkFnK6p2/i8ae9F3tO8S4oaEh/Bx2Vn9wb7y+fFfehZTfuMuorx1o9c3gz5b+YqjmaAoV8jR1FqJtrYmyy8HRcSyUB1/KXFPnrvdGQx9PfgfyERRxT3BQfpJsdqaAY6/d/LDq7UXbCvOW49vdVSUGogci3HcQdYGB3qad74omh7LbW6lW0173R0u8HH+sCCUe00U4Fm9igioqcjMEdbM1QCMyu9ILb72HdbsEzTtAoVvzY9zCdS/oV43eYukUwUGOCsMVW+1BqHdeS+OYInO5jmrDDDgQMkxFyIQMvyugKUuplfKpUBN6h9TO2xZcwUgbuOh4C9kXlU7o6RUZUEvxodNe2xFwmCqwKLMbynVEfEE= + on: + branch: develop diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 00000000..e69de29b From 1690f99e987392914df42a09fa5f32a851132ea0 Mon Sep 17 00:00:00 2001 From: Maykel Arias Torres Date: Fri, 28 Dec 2018 22:33:41 -0500 Subject: [PATCH 11/12] [travis] refs #85 Change deploy to master --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e8a4d3f6..128f71ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -91,4 +91,4 @@ deploy: password: secure: D1yWvwC929+Xic3W2G0RqrmBBlYUgaPvJcir2VWLGiQcoPUWHon0+JXTXIrltpAKO9+A5NQkzJSdbandbhASGNeISekrpBT2PB2YKQBB1Akl+7xXDFfblVK8KS02rwyCb/AFQcilZhymBKWjYC3MGP6aW7IhHDuIfXF+FC9/jh6dzE7ckPH8E27BP9sOfCosUMrG9RQKH7Q35hMXzTgjCpYw8mgp/fxGucaOia+K1EjLB2L7T1gzgs+vvgLKn0E2jfQQES643FSjT5xufXEFk0lezobxw41FEjKKlZ7LkY9FsibQi2uh/7GOxzOlZY5lkFnK6p2/i8ae9F3tO8S4oaEh/Bx2Vn9wb7y+fFfehZTfuMuorx1o9c3gz5b+YqjmaAoV8jR1FqJtrYmyy8HRcSyUB1/KXFPnrvdGQx9PfgfyERRxT3BQfpJsdqaAY6/d/LDq7UXbCvOW49vdVSUGogci3HcQdYGB3qad74omh7LbW6lW0173R0u8HH+sCCUe00U4Fm9igioqcjMEdbM1QCMyu9ILb72HdbsEzTtAoVvzY9zCdS/oV43eYukUwUGOCsMVW+1BqHdeS+OYInO5jmrDDDgQMkxFyIQMvyugKUuplfKpUBN6h9TO2xZcwUgbuOh4C9kXlU7o6RUZUEvxodNe2xFwmCqwKLMbynVEfEE= on: - branch: develop + branch: master From 77c74a21200f34fdaf27b8d450f506642812cc76 Mon Sep 17 00:00:00 2001 From: Olemis Lang Date: Sat, 29 Dec 2018 00:57:35 -0500 Subject: [PATCH 12/12] [ci] refs #85 - Add missing parameters for Travis deploy to PyPI - Publish sdist and wheel - Release from tags only - Release once when Python=3.7 --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 128f71ff..5d304c77 100644 --- a/.travis.yml +++ b/.travis.yml @@ -87,8 +87,11 @@ notifications: webhooks: https://fathomless-fjord-24024.herokuapp.com/notify deploy: provider: pypi - user: hanibal920915 + user: olemis + distributions: sdist bdist_wheel password: - secure: D1yWvwC929+Xic3W2G0RqrmBBlYUgaPvJcir2VWLGiQcoPUWHon0+JXTXIrltpAKO9+A5NQkzJSdbandbhASGNeISekrpBT2PB2YKQBB1Akl+7xXDFfblVK8KS02rwyCb/AFQcilZhymBKWjYC3MGP6aW7IhHDuIfXF+FC9/jh6dzE7ckPH8E27BP9sOfCosUMrG9RQKH7Q35hMXzTgjCpYw8mgp/fxGucaOia+K1EjLB2L7T1gzgs+vvgLKn0E2jfQQES643FSjT5xufXEFk0lezobxw41FEjKKlZ7LkY9FsibQi2uh/7GOxzOlZY5lkFnK6p2/i8ae9F3tO8S4oaEh/Bx2Vn9wb7y+fFfehZTfuMuorx1o9c3gz5b+YqjmaAoV8jR1FqJtrYmyy8HRcSyUB1/KXFPnrvdGQx9PfgfyERRxT3BQfpJsdqaAY6/d/LDq7UXbCvOW49vdVSUGogci3HcQdYGB3qad74omh7LbW6lW0173R0u8HH+sCCUe00U4Fm9igioqcjMEdbM1QCMyu9ILb72HdbsEzTtAoVvzY9zCdS/oV43eYukUwUGOCsMVW+1BqHdeS+OYInO5jmrDDDgQMkxFyIQMvyugKUuplfKpUBN6h9TO2xZcwUgbuOh4C9kXlU7o6RUZUEvxodNe2xFwmCqwKLMbynVEfEE= + secure: oWPiupPzGPN4jIn8cPAus5XuQ5/sSwLs3mewMoDpnBt/N7rhvJU2QcWbKcWffKAimcOK+BEjGiqFRR2zi8J6HWa7dgumovyVX9Ojp+y8yPWeTkQ2tHLa4vlf/DaMtGTxSVqIWlpr2RANJ/aFmc7gLthnl7PiuC+EZ5mqRTRgirQkXDk+3I1BevQtvjXlYQMTSu9UaabxjX9RCHgB3uDSYTKwQhmv4ye5X501RkgB+dziq3okGbBtmGDD7I195sc0veeq7lgcCJnTC0CL9HUZKPj8i7j4zfk14ID/cv+XC3A4zZCoD5BnR3+c0PoG1vs/cLWqCgJb3GnbadEN9cDLXLLSCqCRkbOav4SpMIskOTfEjgCVkLocDaJLen3MEmj/4hyc8ayUjSulKuLgndWYTCYvQ0mXWHDHgTlsNw4zR8x+ETJPBMp69wGhHqgLivWdjdkfgMCgn5cUR47l1OD0TIWWvHMvqoXY2rL9OVT+iXdiqBvt6hQvqZQBs0BT+3DiiqTlCxi0czzhDklp/WkwA9WDo05A3SQ9CB1XjbZhcw0ulYxeOV8jC8JeWIXPH6F0ahzJqTjWXcze+AR21lbJkVgythJplRjvIPZGQRPaodNZ/jqOHARAFI5hm2Hme21K2U7UvdmsSjLSNgPN4ElzNjdIPuqCGJ5meIZYrWLmdcY= on: - branch: master + tags: true + repo: skycoin/pyskycoin + condition: "$TOXENV = py37"