From 74ffef98264e9fef8dd561f707b7cb53c1fe4eb8 Mon Sep 17 00:00:00 2001
From: Konstantinos Sideris <sideris.konstantin@gmail.com>
Date: Sat, 23 Dec 2017 14:11:51 +0200
Subject: [PATCH] Fix deploy conditionals

---
 .travis.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index f9f4d5b2d..d23a67f86 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -50,8 +50,8 @@ before_script:
 script:
     - make ci
     - if [ $TRAVIS_OS_NAME == osx ]; then make lint; fi
-    - if [ $TRAVIS_OS_NAME == osx && $DEPLOYMENT == 1 ]; then ./.ci/macos/deploy.sh; fi
-    - if [ $TRAVIS_OS_NAME == linux && $DEPLOYMENT == 1 ]; then ./.ci/linux/deploy.sh; fi
+    - if [ $TRAVIS_OS_NAME == osx ] && [ $DEPLOYMENT == 1 ]; then ./.ci/macos/deploy.sh; fi
+    - if [ $TRAVIS_OS_NAME == linux ] && [ $DEPLOYMENT == 1 ]; then ./.ci/linux/deploy.sh; fi
 
 deploy:
     - skip_cleanup: true
-- 
GitLab