diff --git a/functest/test-import.sh b/functest/test-import.sh index dc316e006..3a4aee612 100755 --- a/functest/test-import.sh +++ b/functest/test-import.sh @@ -14,7 +14,7 @@ dvc_info "Import from http url" dvc import $DATA_S3/Tags.xml data/http dvc_check_files "data/http" -if [ -z $TRAVIS_PULL_REQUEST ]; then +if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then dvc_info "Import from s3 url" dvc config aws.region $REGION dvc import s3://dataversioncontrol/functests/stackoverflow_raw_small/Tags.xml data/s3 diff --git a/functest/test-sync-aws.sh b/functest/test-sync-aws.sh index 23bc2d009..103495d76 100755 --- a/functest/test-sync-aws.sh +++ b/functest/test-sync-aws.sh @@ -4,7 +4,7 @@ set -e source common.sh -if [ -z $TRAVIS_PULL_REQUEST ]; then +if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then dvc_create_repo dvc_info "Setting up AWS cloud"