From e78420fa8eb3915bdd9d23b73b127a94594af3d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Zubcevic?= Date: Wed, 2 Dec 2020 19:26:49 +0100 Subject: [PATCH] fix warnings --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cc53d6434..06ccd5c81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,12 +28,12 @@ before_deploy: - cp -fa $WEBWOLF_TARGET_DIR/*.jar $WEBGOAT_ARTIFACTS_FOLDER/ - echo "Contents of artifacts folder:" - ls $WEBGOAT_ARTIFACTS_FOLDER - - if [ "$TRAVIS_OS_NAME" == "osx" ]; then exit 1 ; fi deploy: - provider: script cleanup: false script: bash scripts/deploy-webgoat.sh on: + condition: $TRAVIS_OS_NAME == 'linux' jdk: openjdk11 tags: true - provider: releases @@ -44,6 +44,7 @@ deploy: file_glob: true file: "$WEBGOAT_ARTIFACTS_FOLDER/*" on: + condition: $TRAVIS_OS_NAME == 'linux' jdk: openjdk11 tags: true env: