<div dir="ltr">Enabling cache used to result in a lot of issues. Can&#39;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&#39;d like to get away from Travis as it&#39;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">&lt;<a href="mailto:mposolda@redhat.com" target="_blank">mposolda@redhat.com</a>&gt;</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">&lt;<a href="mailto:mposolda@redhat.com" target="_blank">mposolda@redhat.com</a>&gt;</span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;ve tried
            to find some &quot;balance&quot; between no log and too much log. I&#39;ve<br>
            ended with removed quiet mode, but some output filtering
            with &quot;grep&quot; to<br>
            avoid very big log file. The command is like this:<br>
            <br>
            mvn install -Pdistribution -DskipTests=true -B -V | grep -e
            &quot;Maven&quot; -e<br>
            &quot;Java&quot; -e &quot;Building Keycloak&quot;<br>
            <br>
            I&#39;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>
                &gt; i set it back<br>
                &gt;<br>
                &gt;<br>
                &gt; On 8/1/16 3:38 PM, Pedro Igor Silva wrote:<br>
                &gt;&gt; Now Travis is complaining about the log size
                .... That is probably the reason why quite mode was set.<br>
                &gt;&gt;<br>
                &gt;&gt; I think we should revert -q. At least we can
                restart the build and get it working.<br>
                &gt;&gt;<br>
                &gt;&gt; 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>
                &gt;&gt;<br>
                &gt;&gt; Wdyt ?<br>
                &gt;&gt;<br>
                &gt;&gt;<br>
                &gt;&gt; ----- Original Message -----<br>
                &gt;&gt; From: &quot;Pedro Igor Silva&quot; &lt;<a href="mailto:psilva@redhat.com" target="_blank"></a><a href="mailto:psilva@redhat.com" target="_blank">psilva@redhat.com</a>&gt;<br>
                &gt;&gt; To: &quot;Bill Burke&quot; &lt;<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;<br>
                &gt;&gt; Cc: &quot;keycloak-dev&quot; &lt;<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>&gt;<br>
                &gt;&gt; Sent: Monday, August 1, 2016 2:12:32 PM<br>
                &gt;&gt; Subject: Re: [keycloak-dev] travis maven and
                quiet mode -q<br>
                &gt;&gt;<br>
                &gt;&gt; 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>
                &gt;&gt;<br>
                &gt;&gt; ----- Original Message -----<br>
                &gt;&gt; From: &quot;Bill Burke&quot; &lt;<a href="mailto:bburke@redhat.com" target="_blank"></a><a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;<br>
                &gt;&gt; To: &quot;keycloak-dev&quot; &lt;<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>&gt;<br>
                &gt;&gt; Sent: Monday, August 1, 2016 2:03:05 PM<br>
                &gt;&gt; Subject: [keycloak-dev] travis maven and quiet
                mode -q<br>
                &gt;&gt;<br>
                &gt;&gt; Why are we running in quiet mode? Does the log
                end up too long and the<br>
                &gt;&gt; build fails?<br>
                &gt;&gt;<br>
                &gt;&gt; ______________________________<wbr>_________________<br>
                &gt;&gt; keycloak-dev mailing list<br>
                &gt;&gt; <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
                &gt;&gt; <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>
                &gt;&gt; ______________________________<wbr>_________________<br>
                &gt;&gt; keycloak-dev mailing list<br>
                &gt;&gt; <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
                &gt;&gt; <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>
                &gt; ______________________________<wbr>_________________<br>
                &gt; keycloak-dev mailing list<br>
                &gt; <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
                &gt; <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>