diff --git a/tests/scripts/travis.sh b/tests/scripts/travis.sh
index 69d09f9bef8b04044167abf2cce7f5aa7ea750a3..cd8f23d3863a81f3a9d39db21bdf6aee2a71dc28 100755
--- a/tests/scripts/travis.sh
+++ b/tests/scripts/travis.sh
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-if [ "$TRAVIS_JDK_VERSION" == "oraclejdk11" ]; then
+if [ "$TRAVIS_JDK_VERSION" = "oraclejdk11" ]; then
   ./gradlew sonarqube codeCoverageReport -Dsonar.verbose=true
 else
   ./gradlew check codeCoverageReport