Skip to content

Commit

Permalink
Merge pull request #426 from JrGoodle/deploy
Browse files Browse the repository at this point in the history
Fix deploy script
  • Loading branch information
JrGoodle authored Apr 19, 2020
2 parents 1a2f9c0 + 0b8a97e commit 00f388c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ jobs:
# - env: TARGET="swift"
# script: clowder-test -c swift all

before_install: script/bootstrap
addons:
homebrew:
packages:
- python3
- github-release

install: script/travis/install

Expand Down
6 changes: 2 additions & 4 deletions script/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ if [[ "$TRAVIS_BRANCH" != "master" ]]; then
exit 0
fi

echo "python version: $(python --version)"

export GITHUB_USER='JrGoodle'
export GITHUB_REPO='clowder'

Expand All @@ -33,12 +31,12 @@ else

echo 'Create source distribution'
echo '--------------------------'
python setup.py sdist
sudo -H python3 setup.py sdist
echo ''

echo 'Create wheel'
echo '------------'
python setup.py bdist_wheel
sudo -H python3 setup.py bdist_wheel
echo ''

echo "Creating new tag and GitHub Release"
Expand Down
2 changes: 1 addition & 1 deletion script/travis/install
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../.." || exit 1

if [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew install github-release
# brew install github-release
pip3 install twine wheel
pip3 install -r src/requirements.txt
elif [ "$TRAVIS_OS_NAME" = "linux" ]; then
Expand Down

0 comments on commit 00f388c

Please sign in to comment.