Skip to content

Commit 7c10b89

Browse files
author
Suszyński Krzysztof
committed
Reconfigure Travis
1 parent 38dd5cd commit 7c10b89

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ matrix:
1212
env: JACOCO=true COVERALLS=true
1313
- jdk: oraclejdk7
1414
env: JACOCO=true COVERALLS=true
15-
script: mvn clean install sonar:sonar --fail-at-end
1615
- jdk: oraclejdk8
1716
env: JACOCO=true COVERALLS=true
17+
- jdk: openjdk7
18+
env: JACOCO=true GDMSESSION=sonar SONAR_ANALYSIS_MODE=publish
19+
script: mvn clean install -Dsonar.analysis.mode=publish --fail-at-end
1820
- jdk: openjdk6
1921
env: JACOCO=false
2022
- jdk: openjdk7

src/test/java/pl/wavesoftware/eid/exceptions/EidIT.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import org.junit.rules.RuleChain;
66
import org.openjdk.jmh.annotations.Benchmark;
77
import org.openjdk.jmh.annotations.Mode;
8-
import org.openjdk.jmh.annotations.Threads;
98
import org.openjdk.jmh.infra.Blackhole;
109
import org.openjdk.jmh.results.RunResult;
1110
import org.openjdk.jmh.runner.Runner;
@@ -50,7 +49,7 @@ public void doBenckmarking() throws Exception {
5049
.warmupIterations(2)
5150
.measurementTime(TimeValue.seconds(1))
5251
.measurementIterations(5)
53-
.threads(Threads.MAX)
52+
.threads(4)
5453
.forks(1)
5554
.shouldFailOnError(true)
5655
.shouldDoGC(true)

src/test/java/pl/wavesoftware/eid/utils/EidPreconditionsIT.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import org.openjdk.jmh.annotations.Scope;
1010
import org.openjdk.jmh.annotations.Setup;
1111
import org.openjdk.jmh.annotations.State;
12-
import org.openjdk.jmh.annotations.Threads;
1312
import org.openjdk.jmh.infra.Blackhole;
1413
import org.openjdk.jmh.results.RunResult;
1514
import org.openjdk.jmh.runner.Runner;
@@ -59,7 +58,7 @@ public void doBenchmarking() throws RunnerException {
5958
.warmupIterations(1)
6059
.measurementTime(TimeValue.seconds(1))
6160
.measurementIterations(3)
62-
.threads(Threads.MAX)
61+
.threads(4)
6362
.forks(1)
6463
.shouldFailOnError(true)
6564
.shouldDoGC(true)

0 commit comments

Comments
 (0)