Skip to content

Commit 196bea3

Browse files
committed
Build: silent travis
1 parent b5509a0 commit 196bea3

5 files changed

Lines changed: 16 additions & 5 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ branches:
2020
- 2.x
2121

2222
script:
23-
- ./etc/build.sh
23+
- ./etc/travis.sh

etc/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
DIR=$(cd "$(dirname "$0")"; pwd)
44

5-
sh $DIR/maven.sh -T C1 clean checkstyle:checkstyle -P checkstyle package
5+
sh $DIR/maven.sh clean checkstyle:checkstyle -P checkstyle package

etc/logback-travis.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<configuration>
3+
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
4+
<encoder>
5+
<pattern>%-5p [%d{ISO8601}] [%thread] %msg%n</pattern>
6+
</encoder>
7+
</appender>
8+
9+
<root level="ERROR">
10+
<appender-ref ref="STDOUT"/>
11+
</root>
12+
</configuration>

etc/travis.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
DIR=$(cd "$(dirname "$0")"; pwd)
44

5-
sh $DIR/maven.sh -T C1 clean install -DskipTests=true
6-
sh $DIR/maven.sh -T C1 checkstyle:checkstyle -P checkstyle package
5+
sh $DIR/maven.sh clean install -q -DskipTests=true
6+
sh $DIR/maven.sh -Dlogback.configurationFile=$DIR/logback-travis.xml -q checkstyle:checkstyle -P checkstyle package

modules/jooby-run/src/main/java/io/jooby/run/JoobyRun.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ public Exception start() {
106106

107107
private void printErr(Throwable source) {
108108
Throwable cause = withoutReflection(source);
109-
System.out.println("CAUSE " + cause);
110109
StackTraceElement[] stackTrace = cause.getStackTrace();
111110
int truncateAt = stackTrace.length;
112111
for (int i = 0; i < stackTrace.length; i++) {

0 commit comments

Comments
 (0)