Skip to content

Commit 700a928

Browse files
authored
Merge pull request #750 from jooby-project/749
remove code coverage from normal build fix #749
2 parents 8c907a3 + 4aeea78 commit 700a928

3 files changed

Lines changed: 2 additions & 1 deletion

File tree

coverage.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
22
ALPN_VERSION="`groovy -e 'String v = (System.getProperty("java.vendor").contains("IBM") ? {def m = (["java", "-version"].execute().err.text =~ /(?s)java version "([0-9]*.[0-9]*.[0-9]*)".*Oracle jdk[0-9]u([0-9]*)-.*/); "${m[0][1]}_${m[0][2]}"}.call() : System.getProperty("java.version")); ((new URL("http://www.eclipse.org/jetty/documentation/9.4.x/alpn-chapter.html")).text =~ /ALPN vs. OpenJDK versions(.*)<\/table>/).each { m, s -> ( s =~ /([0-9].[0-9].[0-9]*u[0-9]*)[^0-9]*([0-9].[0-9]*.[0-9]*.v2[0-9]*)/).each { _, jdkv, alpnv -> if (v.equals(jdkv.replace("u","_"))){ println alpnv }}}'`"
33
echo "ALPN $ALPN_VERSION"
4+
cd coverage-report
45
mvn -Dlogback.configurationFile=logback-travis.xml -Dalpn-boot-version=$ALPN_VERSION -DdryRun=true clean package coveralls:report -P coverage

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
<module>jooby-assets-svg-symbol</module>
104104
<module>jooby-assets-autoprefixer</module>
105105
<module>jooby-assets-react</module>
106-
<module>coverage-report</module>
107106
</modules>
108107

109108
<licenses>

travis.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
22
ALPN_VERSION="`groovy -e 'String v = (System.getProperty("java.vendor").contains("IBM") ? {def m = (["java", "-version"].execute().err.text =~ /(?s)java version "([0-9]*.[0-9]*.[0-9]*)".*Oracle jdk[0-9]u([0-9]*)-.*/); "${m[0][1]}_${m[0][2]}"}.call() : System.getProperty("java.version")); ((new URL("http://www.eclipse.org/jetty/documentation/9.4.x/alpn-chapter.html")).text =~ /ALPN vs. OpenJDK versions(.*)<\/table>/).each { m, s -> ( s =~ /([0-9].[0-9].[0-9]*u[0-9]*)[^0-9]*([0-9].[0-9]*.[0-9]*.v2[0-9]*)/).each { _, jdkv, alpnv -> if (v.equals(jdkv.replace("u","_"))){ println alpnv }}}'`"
33
echo "ALPN $ALPN_VERSION"
4+
cd coverage-report
45
mvn -Dlogback.configurationFile=logback-travis.xml -Dalpn-boot-version=$ALPN_VERSION -DdryRun=true -Dcoverage.port=random -Dcoverage.securePort=random clean package coveralls:report -P coverage

0 commit comments

Comments
 (0)