invoke discover_platform function, print the platform
diff --git a/scripts/travis/build.sh b/scripts/travis/build.sh
index 1c1cfea..20501b9 100755
--- a/scripts/travis/build.sh
+++ b/scripts/travis/build.sh
@@ -47,7 +47,8 @@
set +x
# Autodiscover the platform
-PLATFORM=discover_platform
+PLATFORM=$(discover_platform)
+echo "Using $PLATFORM platform"
# Run this manually, since if it fails when run
# as -workspace_status_command we don't get good output
diff --git a/scripts/travis/test.sh b/scripts/travis/test.sh
index 397eebd..d79fbed 100755
--- a/scripts/travis/test.sh
+++ b/scripts/travis/test.sh
@@ -8,7 +8,8 @@
source ${DIR}/common.sh
# Autodiscover the platform
-PLATFORM=discover_platform
+PLATFORM=$(discover_platform)
+echo "Using $PLATFORM platform"
# integration test binaries have to be specified as absolute path
JAVA_INTEGRATION_TESTS_BIN="${PWD}/bazel-genfiles/integration-test/src/java/integration-tests.jar"