summaryrefslogtreecommitdiff
path: root/tools/travis-upload-wheel.sh
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-12-16 12:54:23 -0700
committerCharles Harris <charlesr.harris@gmail.com>2015-12-16 12:54:23 -0700
commit8f87f431e275c243d17857ba7a027102dd81cfe8 (patch)
tree472308a19cdd4b0e2a5c49bcf7150dcb4e13304c /tools/travis-upload-wheel.sh
parent402e3d3498b680cd6522b4c1fa55902d2e5ed57f (diff)
downloadpython-numpy-8f87f431e275c243d17857ba7a027102dd81cfe8.tar.gz
python-numpy-8f87f431e275c243d17857ba7a027102dd81cfe8.tar.bz2
python-numpy-8f87f431e275c243d17857ba7a027102dd81cfe8.zip
STY: Style fixes for .travis.yml and travis-upload-wheel.sh
* shell script style fixes inspired by google shell style guide https://google.github.io/styleguide/shell.xml * .travis.yml longline breaking tested with http://yaml-online-parser.appspot.com/
Diffstat (limited to 'tools/travis-upload-wheel.sh')
-rwxr-xr-xtools/travis-upload-wheel.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/tools/travis-upload-wheel.sh b/tools/travis-upload-wheel.sh
index 60b9aa7cb..06a8f3eba 100755
--- a/tools/travis-upload-wheel.sh
+++ b/tools/travis-upload-wheel.sh
@@ -1,11 +1,13 @@
#!/bin/bash
+#
set -ex
export CLOUD_CONTAINER_NAME=travis-dev-wheels
-if [[ ( $USE_WHEEL == 1 ) && \
- ( "$TRAVIS_BRANCH" == "master" ) && \
- ( "$TRAVIS_PULL_REQUEST" == "false" ) ]]; then
- pip install wheelhouse_uploader
- python -m wheelhouse_uploader upload --local-folder $TRAVIS_BUILD_DIR/dist/ $CLOUD_CONTAINER_NAME
+if [[ ( ${USE_WHEEL} == 1 ) \
+ && ( "${TRAVIS_BRANCH}" == "master" ) \
+ && ( "${TRAVIS_PULL_REQUEST}" == "false" ) ]]; then
+ pip install wheelhouse_uploader
+ python -m wheelhouse_uploader upload --local-folder \
+ ${TRAVIS_BUILD_DIR}/dist/ ${CLOUD_CONTAINER_NAME}
fi