From ee24176fa11b5775529f135835ba82e6490c9720 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 5 Jan 2019 11:29:35 -0500 Subject: [PATCH] added sonarcloud support (hopefully it works) --- .travis.yml | 5 +++++ sonar-project.properties | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 sonar-project.properties diff --git a/.travis.yml b/.travis.yml index a5d7bdc1f5..d6ace14407 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,3 +3,8 @@ dist: trusty language: java before_install: - echo "MAVEN_OPTS='-Xmx2g'" > ~/.mavenrc +addons: + sonarcloud: + organization: "magefree" +script: + - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000000..9b5b43fcd3 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,2 @@ +sonar.projectName=XMage +sonar.projectVersion=1.4.332V0