diff --git a/.travis.yml b/.travis.yml
index 64deb2fe..0373ca3f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -168,8 +168,8 @@ script:
   - if [ `which valgrind` ]; then
     valgrind --error-exitcode=1 --leak-check=full ./json_unit ;
     fi
-  - if [ $os = "osx" ]; then
+  - if [ $os="osx" ]; then
     brew tap nlohmann/json ;
     brew install nlohmann_json --HEAD ;
-    brew test nlohmann_json
+    brew test nlohmann_json ;
     fi