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