Skip to content

Commit

Permalink
Use deploy CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
tbekolay committed Jul 30, 2019
1 parent 067e791 commit 8911bd7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .nengobones.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ travis_yml:
env:
NUMPY: numpy==1.16
- script: docs
pypi_user: tbekolay
deploy_dists:
- sdist
- bdist_wheel

ci_scripts:
- template: static
Expand All @@ -89,6 +93,7 @@ ci_scripts:
pip_install:
- $NUMPY
- template: docs
- template: deploy

codecov_yml: {}

Expand Down
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,27 @@ jobs:
apt:
packages:
- pandoc
- stage: deploy
if: branch =~ ^release-candidate-* OR tag =~ ^v[0-9]*
env: SCRIPT="deploy"
cache: false
deploy:
- provider: pypi
server: https://test.pypi.org/legacy/
user: tbekolay
password: $PYPI_TOKEN
distributions: "sdist bdist_wheel "
on:
all_branches: true
condition: $TRAVIS_BRANCH =~ ^release-candidate-*
condition: $TRAVIS_TAG = ""
- provider: pypi
user: tbekolay
password: $PYPI_TOKEN
distributions: "sdist bdist_wheel "
on:
all_branches: true
condition: $TRAVIS_TAG =~ ^v[0-9]*

before_install:
# export travis_terminate for use in scripts
Expand Down

0 comments on commit 8911bd7

Please sign in to comment.