diff --git a/.travis.yml b/.travis.yml index a88b171..9a77d27 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,8 +20,8 @@ before_install: test -z "$TRAVIS_JDK" || curl -Ls https://git.io/jabba | bash && install: # Only install and use JDK if it is set. If empty, use system JDK. - - test -z "$TRAVIS_JDK" || jabba install "$TRAVIS_JDK"); - - test -z "$TRAVIS_JDK" || jabba use "$TRAVIS_JDK"); + - test -z "$TRAVIS_JDK" || jabba install "$TRAVIS_JDK"; + - test -z "$TRAVIS_JDK" || jabba use "$TRAVIS_JDK"; # Print the JDK we are going to use. - java -Xmx32m -version # due to a bug, dependency resolve will try to resolve reactor projects from subfolders, although @@ -48,4 +48,5 @@ cache: - "$HOME/.m2/repository" - "$HOME/.jabba/jdk" - +after_success: + - bash <(curl -s https://codecov.io/bash) diff --git a/compressedint/src/test/java/io/github/zchunk/compressedint/CompressedIntTest.java b/compressedint/src/test/java/io/github/zchunk/compressedint/CompressedIntTest.java index b3c99f2..be0fdbc 100644 --- a/compressedint/src/test/java/io/github/zchunk/compressedint/CompressedIntTest.java +++ b/compressedint/src/test/java/io/github/zchunk/compressedint/CompressedIntTest.java @@ -59,7 +59,6 @@ public void testToCompressedInt_ulong_max() { final CompressedInt bytes = CompressedIntFactory.valueOf(unsignedLongValue); final String binaryString = byteArrayToBinaryString(bytes.getCompressedBytes()); - System.out.println("" + new BigInteger(1, bytes.getCompressedBytes()).toString(16)); Assertions.assertEquals("1111111011111110111111101111111011111110111111101111111011111110111111110000001", binaryString); } diff --git a/pom.xml b/pom.xml index 7c0a16b..e35d2d0 100644 --- a/pom.xml +++ b/pom.xml @@ -105,17 +105,6 @@ - - maven-surefire-plugin - 3.0.0-M3 - - - ${project.build.testOutputDirectory}/logging.properties - EN - - - - org.apache.maven.plugins maven-enforcer-plugin @@ -128,6 +117,27 @@ 3.1.1 + + + org.jacoco + jacoco-maven-plugin + 0.8.4 + + + + maven-surefire-plugin + 3.0.0-M3 + + + + ${project.build.testOutputDirectory}/logging.properties + + EN + + @{surefireArgLine} + + + org.apache.maven.plugins @@ -180,6 +190,38 @@ + + + org.apache.maven.plugins + maven-surefire-plugin + + + + org.jacoco + jacoco-maven-plugin + + + + prepare-agent + + prepare-agent + + + surefireArgLine + + + + + prepare-agent-integration + + prepare-agent-integration + + + failsafeArgLine + + + +