forked from spotbugs/spotbugs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '99b9efd6981307a44be915e6b7921c8266216eec' into merge-3.…
…1.9-to-master
- Loading branch information
Showing
154 changed files
with
11,312 additions
and
12,574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
rtd: | ||
project: spotbugs | ||
newIssueWelcomeComment: > | ||
Thanks for opening your first issue here! :smiley: | ||
Please check [our contributing guideline](https://github.com/spotbugs/spotbugs/blob/release-3.1/.github/CONTRIBUTING.md). | ||
Especially when you report a problem, make sure you share [a Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve) to reproduce it in this issue. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
path_classifiers: | ||
test: | ||
- "spotbugsTestCases/**/*.java" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,10 @@ dist: trusty | |
|
||
jdk: | ||
- oraclejdk8 | ||
- oraclejdk9 | ||
|
||
- oraclejdk11 | ||
matrix: | ||
allow_failures: | ||
- jdk: oraclejdk11 | ||
env: | ||
global: | ||
- SONAR_HOST_URL="https://sonarcloud.io" | ||
|
@@ -15,7 +17,6 @@ env: | |
# see https://docs.travis-ci.com/user/pull-requests/#Pull-Requests-and-Security-Restrictions | ||
- secure: "FjzPYgjdN9WRvAwvJDFP0MqWMOsqCG0tNO6ts7X1p6HWikpoHnTqWgMl0YOgG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Y+BAUnBIUAsMjvpX9RNMvDYx5D/5/cqj9WiEsaBLBLuQX90bZA0B8xbA1IHj9pRSxm9N8VAWMTzxhZzuqqMAi2IszBRZicKKYd66z83T1k9SFcTY4mvg0W2uVvZsoaBMIYmhvBZXPOLEgwadTbeiqFW2vox16k6k8xRlKzH+IIYQAChFPqxDxBtP8b7LZDa6ahreBMKtp3xBPbbCgbrviE647CwyPwb+DxOihua5GNfgxXby4kxiXcuglUXZ5NWCmvks2KIE=" | ||
|
||
- SIGNING_KEY_ID="EECF0E90" | ||
|
@@ -45,13 +46,18 @@ install: | |
- rm -rf eclipse | ||
- tar xzvf deps/eclipse-SDK-4.6.3-linux-gtk-x86_64.tar.gz eclipse | ||
- echo eclipseRoot.dir=$(pwd)/eclipse > eclipsePlugin/local.properties | ||
- echo ossrhUsername=eller86 >> gradle.properties | ||
- echo "ossrhPassword=${SONATYPE_PASSWORD}" >> gradle.properties | ||
- echo "signing.keyId=${SIGNING_KEY_ID}" >> gradle.properties | ||
- echo "signing.password=${SIGNING_PASSWORD}" >> gradle.properties | ||
- echo signing.secretKeyRingFile=secring.gpg >> gradle.properties | ||
|
||
script: | ||
- jdk_switcher use oraclejdk8 | ||
- ./gradlew classes testClasses -S | ||
- jdk_switcher use $TRAVIS_JDK_VERSION | ||
- if [[ $TRAVIS_JDK_VERSION == "oraclejdk11" ]]; then export JAVA_HOME=$HOME/oraclejdk11; fi | ||
- ./gradlew -v --no-daemon | ||
- ./gradlew build smoketest -S --no-daemon | ||
- ./gradlew build smoketest -x signArchives -S --no-daemon | ||
- jdk_switcher use oraclejdk8 | ||
- if [[ $TRAVIS_JDK_VERSION == "oraclejdk8" ]]; then ./gradlew sonarqube -S; fi | ||
|
||
|
@@ -75,6 +81,15 @@ deploy: | |
on: | ||
branch: master | ||
jdk: oraclejdk8 | ||
- provider: pages | ||
skip_cleanup: true | ||
github_token: $GITHUB_TOKEN | ||
local_dir: eclipsePlugin/build/site/eclipse-stable-latest | ||
repo: spotbugs/eclipse-stable-latest | ||
email: [email protected] | ||
on: | ||
branch: release-3.1 | ||
jdk: oraclejdk8 | ||
- provider: pages | ||
skip_cleanup: true | ||
github_token: $GITHUB_TOKEN | ||
|
@@ -103,19 +118,25 @@ deploy: | |
jdk: oraclejdk8 | ||
- provider: script | ||
skip_cleanup: true | ||
script: ./gradlew uploadArchives -PossrhUsername="$SONATYPE_USERNAME" -PossrhPassword="$SONATYPE_PASSWORD" | ||
# wait until uploading task finishes, because it may cost more than 10 minutes without any output | ||
# https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received | ||
script: .travis/travis_wait "./gradlew uploadArchives" | ||
on: | ||
branch: master | ||
jdk: oraclejdk8 | ||
branch: master | ||
- provider: script | ||
skip_cleanup: true | ||
script: ./gradlew publishPlugins -Pgradle.publish.key="$GRADLE_PUBLISH_KEY" -Pgradle.publish.secret="$GRADLE_PUBLISH_SECRET" | ||
# wait until uploading task finishes, because it may cost more than 10 minutes without any output | ||
# https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received | ||
script: .travis/travis_wait "./gradlew uploadArchives" | ||
on: | ||
tags: true | ||
jdk: oraclejdk8 | ||
branch: release-3.1 | ||
- provider: script | ||
skip_cleanup: true | ||
script: ./gradlew uploadArchives -PossrhUsername="$SONATYPE_USERNAME" -PossrhPassword="$SONATYPE_PASSWORD" -Psigning.keyId="$SIGNING_KEY_ID" -Psigning.password="$SIGNING_PASSWORD" -Psigning.secretKeyRingFile="$TRAVIS_BUILD_DIR/secring.gpg" | ||
# wait until uploading task finishes, because it may cost more than 10 minutes without any output | ||
# https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received | ||
script: .travis/travis_wait "./gradlew uploadArchives" | ||
on: | ||
tags: true | ||
jdk: oraclejdk8 |
Oops, something went wrong.