Skip to content

Commit

Permalink
Add travis null_deploy for osx
Browse files Browse the repository at this point in the history
  • Loading branch information
James R. Barlow committed May 2, 2017
1 parent fae2119 commit e8cc8fc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ deploy:
condition: $TRAVIS_OS_NAME == "osx"
skip_upload_docs: true

# null deploy for osx
# we really just want to run after_deploy *after* pypi upload is done, but
# after_deploy on runs if a given box deployed
provider: script
script: .travis/null_deploy.sh
on:
branch: master
tags: false
condition: "$TRAVIS_OS_NAME" == "osx"

after_deploy: |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
bash .travis/osx_brew.sh
Expand Down
3 changes: 3 additions & 0 deletions .travis/null_deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

exit 0

0 comments on commit e8cc8fc

Please sign in to comment.