Skip to content

Commit

Permalink
[skyapi] refs skycoin#131 moving the global before_deploy into each job
Browse files Browse the repository at this point in the history
  • Loading branch information
e1Ru1o committed Jun 27, 2019
1 parent 15365db commit fdd008d
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@ after_failure:
notifications:
email: false
webhooks: https://fathomless-fjord-24024.herokuapp.com/notify
before_deploy:
- echo "Generating distribution archives before deploy"
- make sdist
- make bdist_wheel
- if [ $TRAVIS_OS_NAME == "linux" && $TOXENV == "py37" ]; then make bdist_manylinux_amd64 ; fi
- ls dist
jobs:
include:
- stage: pyskycoin
before_deploy:
- echo "Generating distribution archives before deploy"
- make sdist
- make bdist_wheel
- if [ $TRAVIS_OS_NAME == "linux" && $TOXENV == "py37" ]; then make bdist_manylinux_amd64 ; fi
- ls dist
deploy:
- provider: releases
api_key:
Expand Down Expand Up @@ -134,7 +134,13 @@ jobs:
repo: skycoin/pyskycoin
condition: $TRAVIS_OS_NAME = "osx"
- stage: skyapi
before-deploy: "cd lib/skyapi/"
before_deploy:
- echo "Generating distribution archives before deploy"
- make sdist
- make bdist_wheel
- if [ $TRAVIS_OS_NAME == "linux" && $TOXENV == "py37" ]; then make bdist_manylinux_amd64 ; fi
- ls dist
- cd lib/skyapi/
deploy:
- provider: pypi
distributions: sdist bdist_wheel
Expand Down

0 comments on commit fdd008d

Please sign in to comment.