Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Updated deploy config to deploy on all branches.
Browse files Browse the repository at this point in the history
This was a misconfiguration that prevented pypi deployment. Also updated
changelog and bumped version to 0.0.2.
  • Loading branch information
rhyolight committed Dec 18, 2014
1 parent bd382ec commit 5ced0aa
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 34 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -22,6 +22,9 @@ nbproject/
*.pydevproject
.idea

# Wheels
wheelhouse/

# swarming output files
data/

Expand Down
66 changes: 34 additions & 32 deletions .travis.yml
Expand Up @@ -27,39 +27,41 @@ matrix:
before_deploy:
- . ./ci/travis/before_deploy.sh

# S3 deployment of NuPIC and dependency wheels on every push to master. These
# packages are used in dependent projects like nupic.regression and
# nupic.research.
deploy:
provider: s3
access_key_id: AKIAIGHYSEHV3WFKOWNQ
secret_access_key:
secure: "ONG00ZCPpfU/nugFiON3K2q8IMk3nB/aAUj2Ggjf1z0CJS/cvnfIexmJhe+DJCccoco2l5gpiqp7gweH5vXEcyrzTt1I3Z+iFNas2cQ/wF3LjW0NcbdGeC9NN9kGIoOvr8g6L66CUvazYoirgbJO01ktm7LVNeGS3Q1pk36Vp10="
bucket: artifacts.numenta.org
region: us-west-2
local-dir: "dist/wheels"
upload-dir: "numenta/nupic/${TRAVIS_COMMIT}"
skip_cleanup: true
# Only deploy on master from linux/clang job
on:
branch: master
condition:
- "$TRAVIS_OS_NAME == linux"
- "$CC == clang"

# Pypi deployment happens only for release tags.
deploy:
provider: pypi
user: numenta
password:
secure: "Rba43HiztHRypL9UnsqxP3Cy34hOq7Y7rJdAgXRv9W+s4UEJ4jgnZTE50eNHSXF8owWGzEZcGiMhQCB7Ta3eZ/y+Wj6DhtG4Uhcs4WRrXUwHmcNbl99yFcews9Raj+rv7ajTWy8odMDGsJDvPEndz8pef0AvB3cTVq8Xv8/g860="
distributions: "bdist_wheel"
skip_cleanup: true
# Only deploying from clang jobs.
on:
tags: true
condition:
- "$CC == clang"

# S3 deployment of NuPIC and dependency wheels on every push to master. These
# packages are used in dependent projects like nupic.regression and
# nupic.research.
- provider: s3
access_key_id: AKIAIGHYSEHV3WFKOWNQ
secret_access_key:
secure: "ONG00ZCPpfU/nugFiON3K2q8IMk3nB/aAUj2Ggjf1z0CJS/cvnfIexmJhe+DJCccoco2l5gpiqp7gweH5vXEcyrzTt1I3Z+iFNas2cQ/wF3LjW0NcbdGeC9NN9kGIoOvr8g6L66CUvazYoirgbJO01ktm7LVNeGS3Q1pk36Vp10="
bucket: artifacts.numenta.org
region: us-west-2
local-dir: "dist/wheels"
upload-dir: "numenta/nupic/${TRAVIS_COMMIT}"
skip_cleanup: true
# Only deploy on master from linux/clang job
on:
branch: master
condition:
- "$TRAVIS_OS_NAME == linux"
- "$CC == clang"

# Pypi deployment happens only for release tags.
- provider: pypi
user: numenta
password:
secure: "Rba43HiztHRypL9UnsqxP3Cy34hOq7Y7rJdAgXRv9W+s4UEJ4jgnZTE50eNHSXF8owWGzEZcGiMhQCB7Ta3eZ/y+Wj6DhtG4Uhcs4WRrXUwHmcNbl99yFcews9Raj+rv7ajTWy8odMDGsJDvPEndz8pef0AvB3cTVq8Xv8/g860="
distributions: "bdist_wheel"
skip_cleanup: true
# Only deploying from clang jobs.
on:
all_branches: true
tags: true
condition:
- "$CC == clang"


git:
submodules: false
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
@@ -1,6 +1,10 @@
# Changelog

## 0.0.1 (in progress): Pre-pre release, mostly deployment testing
## 0.0.2 (in progress): Pre-pre release, mostly deployment testing

* Configured pypi deployment on all branches with tags.

## 0.0.1

* Added pypi deployment configuration for binary releases.
* Parsing python requirements in setuptools so they are included within published packages (working toward releases).
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.0.1
0.0.2

0 comments on commit 5ced0aa

Please sign in to comment.