<div dir="ltr">Enabling cache used to result in a lot of issues. Can't remember what, but we can try to re-enable and see if it works better now.<div><br></div><div>-q was added due to Travis killing the build as the much log was added.</div><div><br></div><div>Should probably be possible to fix the timeout with travis_wait, see <a href="https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received">https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received</a>.<br></div><div><br></div><div>See the other thread I just responded to though - I'd like to get away from Travis as it's slow as hell!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 August 2016 at 11:02, Marek Posolda <span dir="ltr"><<a href="mailto:mposolda@redhat.com" target="_blank">mposolda@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>+1 from me to use this.<span class="HOEnZb"><font color="#888888"><br>
<br>
Marek</font></span><div><div class="h5"><br>
<br>
On 02/08/16 09:53, Thomas Darimont wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>FYI - in the Spring Data Builds we configured caching of
maven resources in travis to avoid downloading all
dependencies everytime</div>
<div><a href="https://github.com/spring-projects/spring-data-jpa/blob/master/.travis.yml#L28" target="_blank">https://github.com/spring-<wbr>projects/spring-data-jpa/blob/<wbr>master/.travis.yml#L28</a><br>
</div>
<div><br>
</div>
<div>So try adding this to .travis.yml</div>
<div><br>
</div>
<div>
<div>cache:</div>
<div> directories:</div>
<div> - $HOME/.m2</div>
</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Thomas</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-08-02 5:58 GMT+02:00 Marek Posolda
<span dir="ltr"><<a href="mailto:mposolda@redhat.com" target="_blank">mposolda@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've tried
to find some "balance" between no log and too much log. I've<br>
ended with removed quiet mode, but some output filtering
with "grep" to<br>
avoid very big log file. The command is like this:<br>
<br>
mvn install -Pdistribution -DskipTests=true -B -V | grep -e
"Maven" -e<br>
"Java" -e "Building Keycloak"<br>
<br>
I've pushed this change. Looks like dirty workaround, but
seems to work<br>
for now :/ It seems the proper solution will be to fix maven
to avoid<br>
downloading stuff every build.<br>
<span><font color="#888888"><br>
Marek<br>
</font></span>
<div>
<div><br>
<br>
On 01/08/16 22:40, Bill Burke wrote:<br>
> i set it back<br>
><br>
><br>
> On 8/1/16 3:38 PM, Pedro Igor Silva wrote:<br>
>> Now Travis is complaining about the log size
.... That is probably the reason why quite mode was set.<br>
>><br>
>> I think we should revert -q. At least we can
restart the build and get it working.<br>
>><br>
>> I can try to look at that later this week and
try to find a balance between these two issues (no log
and too much log).<br>
>><br>
>> Wdyt ?<br>
>><br>
>><br>
>> ----- Original Message -----<br>
>> From: "Pedro Igor Silva" <<a href="mailto:psilva@redhat.com" target="_blank"></a><a href="mailto:psilva@redhat.com" target="_blank">psilva@redhat.com</a>><br>
>> To: "Bill Burke" <<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>><br>
>> Cc: "keycloak-dev" <<a href="mailto:keycloak-dev@lists.jboss.org" target="_blank"></a><a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a>><br>
>> Sent: Monday, August 1, 2016 2:12:32 PM<br>
>> Subject: Re: [keycloak-dev] travis maven and
quiet mode -q<br>
>><br>
>> I think so. That is what we have discussed on
another thread. We could remove quiet mode and see if
builds get more stable. Which I think will do ...<br>
>><br>
>> ----- Original Message -----<br>
>> From: "Bill Burke" <<a href="mailto:bburke@redhat.com" target="_blank"></a><a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>><br>
>> To: "keycloak-dev" <<a href="mailto:keycloak-dev@lists.jboss.org" target="_blank"></a><a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a>><br>
>> Sent: Monday, August 1, 2016 2:03:05 PM<br>
>> Subject: [keycloak-dev] travis maven and quiet
mode -q<br>
>><br>
>> Why are we running in quiet mode? Does the log
end up too long and the<br>
>> build fails?<br>
>><br>
>> ______________________________<wbr>_________________<br>
>> keycloak-dev mailing list<br>
>> <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/keycloak-dev</a><br>
>> ______________________________<wbr>_________________<br>
>> keycloak-dev mailing list<br>
>> <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/keycloak-dev</a><br>
> ______________________________<wbr>_________________<br>
> keycloak-dev mailing list<br>
> <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/keycloak-dev</a><br>
<br>
______________________________<wbr>_________________<br>
keycloak-dev mailing list<br>
<a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/keycloak-dev</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
<br>______________________________<wbr>_________________<br>
keycloak-dev mailing list<br>
<a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/keycloak-dev</a><br></blockquote></div><br></div>