From 0c7d64563d8467c6521ab99aa83f4e387f49197c Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 18 Sep 2019 15:35:29 -0400 Subject: [PATCH] missing $ for bash var --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a9f25738..26ce053c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -176,9 +176,9 @@ script: - $gam version extended - $gam version | grep travis # travis should be part of the path (not /tmp or such) # determine which Python version GAM is built with and ensure it's at least build version from above. -- if [ "VMTYPE" == "build" ]; then vline=$(gam version | grep "Python "); python_line=($vline); this_python=${python_line[1]}; tools/a_atleast_b.py $this_python $BUILD_PYTHON_VERSION; fi +- if [ "$VMTYPE" == "build" ]; then vline=$(gam version | grep "Python "); python_line=($vline); this_python=${python_line[1]}; tools/a_atleast_b.py $this_python $BUILD_PYTHON_VERSION; fi # determine which OpenSSL version GAM is built with and ensure it's at least build version from above. -- if [ "VMTYPE" == "build" ]; then vline=$(gam version extended | grep "OpenSSL "); openssl_line=($vline); this_openssl=${openssl_line[1]}; tools/a_atleast_b.py $this_openssl $BUILD_OPENSSL_VERSION; fi +- if [ "$VMTYPE" == "build" ]; then vline=$(gam version extended | grep "OpenSSL "); openssl_line=($vline); this_openssl=${openssl_line[1]}; tools/a_atleast_b.py $this_openssl $BUILD_OPENSSL_VERSION; fi - if [ "$VMTYPE" == "build" ]; then $gam version extended | grep TLSv1\.[23]; fi # Builds should default TLS 1.2 or 1.3 to Google - if [ "$VMTYPE" == "build" ]; then GAM_TLS_MIN_VERSION=TLSv1_2 $gam version extended location tls-v1-0.badssl.com:1010; [[ $? == 3 ]]; fi # expect fail since server doesn't support our TLS version - export jid="$(cut -d'.' -f2 <<<"$TRAVIS_JOB_NUMBER")"