ソースを参照

Re-enable analysis

tags/7.5
Simon Brandhof 6年前
コミット
8011b50e01
1個のファイルの変更3行の追加5行の削除
  1. 3
    5
      travis.sh

+ 3
- 5
travis.sh ファイルの表示

@@ -81,10 +81,9 @@ BUILD)

elif [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
echo 'Build and analyze master'
# FIXME analysis disabled for now
./gradlew --no-daemon --console plain \
-DbuildNumber=$BUILD_NUMBER \
build artifactoryPublish -PjacocoEnabled=true -Prelease=true \
build sonarqube artifactoryPublish -PjacocoEnabled=true -Prelease=true \
-Dsonar.host.url=$SONAR_HOST_URL \
-Dsonar.login=$SONAR_TOKEN \
-Dsonar.projectVersion=$INITIAL_VERSION \
@@ -95,10 +94,9 @@ BUILD)

elif [[ "$TRAVIS_BRANCH" == "branch-"* ]] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
echo 'Build release branch'
# FIXME analysis disabled for now
./gradlew --no-daemon --console plain \
-DbuildNumber=$BUILD_NUMBER \
build artifactoryPublish -PjacocoEnabled=true -Prelease=true \
build sonarqube artifactoryPublish -PjacocoEnabled=true -Prelease=true \
-Dsonar.host.url=$SONAR_HOST_URL \
-Dsonar.login=$SONAR_TOKEN \
-Dsonar.branch.name=$TRAVIS_BRANCH \
@@ -112,7 +110,7 @@ BUILD)
echo 'Build and analyze internal pull request'
./gradlew --no-daemon --console plain \
-DbuildNumber=$BUILD_NUMBER \
build artifactoryPublish -PjacocoEnabled=true -Prelease=true \
build sonarqube artifactoryPublish -PjacocoEnabled=true -Prelease=true \
-Dsonar.host.url=$SONAR_HOST_URL \
-Dsonar.login=$SONAR_TOKEN \
-Dsonar.analysis.buildNumber=$BUILD_NUMBER \

読み込み中…
キャンセル
保存