From 1bd6bef85d91f8ee1f933f94e391b089e36df5a7 Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Thu, 3 Jan 2019 13:33:23 +0200 Subject: [PATCH] Fixed travis script paths --- scripts/runCheckstyle.sh | 2 +- scripts/runTests.sh | 2 +- scripts/sonar.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/runCheckstyle.sh b/scripts/runCheckstyle.sh index 9437c0a60..6784ac3f6 100644 --- a/scripts/runCheckstyle.sh +++ b/scripts/runCheckstyle.sh @@ -1,4 +1,4 @@ -cd $HOME/Rsl1122/Plan-PlayerAnalytics/Plan +cd $TRAVIS_BUILD_DIR/Plan gradle checkstyleMain gradle checkstyleTest cd $HOME diff --git a/scripts/runTests.sh b/scripts/runTests.sh index 2fafb90dc..84662f64b 100644 --- a/scripts/runTests.sh +++ b/scripts/runTests.sh @@ -1,3 +1,3 @@ -cd $HOME/Rsl1122/Plan-PlayerAnalytics/Plan +cd $TRAVIS_BUILD_DIR/Plan gradle test --info cd $HOME diff --git a/scripts/sonar.sh b/scripts/sonar.sh index 9fe578554..fe13bc38b 100644 --- a/scripts/sonar.sh +++ b/scripts/sonar.sh @@ -1,4 +1,4 @@ -cd $HOME/Rsl1122/Plan-PlayerAnalytics/Plan +cd $TRAVIS_BUILD_DIR/Plan if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then gradle sonarqube fi