summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 39b11b4f..180020eb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -148,7 +148,7 @@ before_script:
- "echo LINT: $LINT BUILD: $BUILD"
script:
- |
- if [ "$DEBUG_BUILD" = "$BUILD" ]; then
+ if [ -n "$BUILD" -a "$DEBUG_BUILD" = "$BUILD" ]; then
mkdir .ssh
echo -e "${SSH_KEY}" > .ssh/id_rsa
chmod -R go-rwx .ssh