*/
package com.sonar.runner.it;
+import org.junit.Assume;
+
import org.junit.BeforeClass;
import org.junit.rules.TemporaryFolder;
import org.junit.Rule;
@Test
public void testIssuesMode() throws IOException {
+ Assume.assumeTrue(orchestrator.getServer().version().isGreaterThanOrEquals("5.2"));
+
// online, without cache -> should sync
ensureStarted();
SonarRunner build = createRunner("issues", true);
@Test
public void testPublishModeOffline() throws IOException {
+ Assume.assumeTrue(orchestrator.getServer().version().isGreaterThanOrEquals("5.2"));
+
// online (cache not used)
ensureStarted();
SonarRunner build = createRunner("publish");
SonarRunner build = newRunner(new File("projects/java-sample"))
.setProperty("sonar.verbose", "true")
- .addArguments("-e", "-X");
+ .addArguments("-e");
// SONARPLUGINS-3061
// Add a trailing slash
build.setProperty("sonar.host.url", orchestrator.getServer().getUrl() + "/");
mvn -DsonarRunner.version="2.5-SNAPSHOT" -Dsonar.runtimeVersion="DEV" -Dmaven.test.redirectTestOutputToFile=false install
;;
+IT-DEV-SQ51)
+ installTravisTools
+
+ mvn install -Dsource.skip=true -Denforcer.skip=true -Danimal.sniffer.skip=true -Dmaven.test.skip=true
+
+ cd it
+ mvn -DsonarRunner.version="2.5-SNAPSHOT" -Dsonar.runtimeVersion="5.1.2" -Dmaven.test.redirectTestOutputToFile=false install
+ ;;
+
+IT-DEV-LTS)
+ installTravisTools
+
+ mvn install -Dsource.skip=true -Denforcer.skip=true -Danimal.sniffer.skip=true -Dmaven.test.skip=true
+
+ cd it
+ mvn -DsonarRunner.version="2.5-SNAPSHOT" -Dsonar.runtimeVersion="4.5.5" -Dmaven.test.redirectTestOutputToFile=false install
+ ;;
+
esac