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.
-q was added due to Travis killing the build as the much log was added.
Should probably be possible to fix the timeout with travis_wait, see
.
See the other thread I just responded to though - I'd like to get away from
Travis as it's slow as hell!
On 2 August 2016 at 11:02, Marek Posolda <mposolda(a)redhat.com> wrote:
+1 from me to use this.
Marek
On 02/08/16 09:53, Thomas Darimont wrote:
Hello,
FYI - in the Spring Data Builds we configured caching of maven resources
in travis to avoid downloading all dependencies everytime
https://github.com/spring-projects/spring-data-jpa/blob/
master/.travis.yml#L28
So try adding this to .travis.yml
cache:
directories:
- $HOME/.m2
Cheers,
Thomas
2016-08-02 5:58 GMT+02:00 Marek Posolda <mposolda(a)redhat.com>:
> I've tried to find some "balance" between no log and too much log.
I've
> ended with removed quiet mode, but some output filtering with "grep" to
> avoid very big log file. The command is like this:
>
> mvn install -Pdistribution -DskipTests=true -B -V | grep -e "Maven" -e
> "Java" -e "Building Keycloak"
>
> I've pushed this change. Looks like dirty workaround, but seems to work
> for now :/ It seems the proper solution will be to fix maven to avoid
> downloading stuff every build.
>
> Marek
>
>
> On 01/08/16 22:40, Bill Burke wrote:
> > i set it back
> >
> >
> > On 8/1/16 3:38 PM, Pedro Igor Silva wrote:
> >> Now Travis is complaining about the log size .... That is probably the
> reason why quite mode was set.
> >>
> >> I think we should revert -q. At least we can restart the build and get
> it working.
> >>
> >> 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).
> >>
> >> Wdyt ?
> >>
> >>
> >> ----- Original Message -----
> >> From: "Pedro Igor Silva" <
<psilva@redhat.com>psilva(a)redhat.com>
> >> To: "Bill Burke" <bburke(a)redhat.com>
> >> Cc: "keycloak-dev" < <keycloak-dev(a)lists.jboss.org>
> keycloak-dev(a)lists.jboss.org>
> >> Sent: Monday, August 1, 2016 2:12:32 PM
> >> Subject: Re: [keycloak-dev] travis maven and quiet mode -q
> >>
> >> 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
> ...
> >>
> >> ----- Original Message -----
> >> From: "Bill Burke" <
<bburke@redhat.com>bburke(a)redhat.com>
> >> To: "keycloak-dev" < <keycloak-dev(a)lists.jboss.org>
> keycloak-dev(a)lists.jboss.org>
> >> Sent: Monday, August 1, 2016 2:03:05 PM
> >> Subject: [keycloak-dev] travis maven and quiet mode -q
> >>
> >> Why are we running in quiet mode? Does the log end up too long and the
> >> build fails?
> >>
> >> _______________________________________________
> >> keycloak-dev mailing list
> >> keycloak-dev(a)lists.jboss.org
> >>
https://lists.jboss.org/mailman/listinfo/keycloak-dev
> >> _______________________________________________
> >> keycloak-dev mailing list
> >> keycloak-dev(a)lists.jboss.org
> >>
https://lists.jboss.org/mailman/listinfo/keycloak-dev
> > _______________________________________________
> > keycloak-dev mailing list
> > keycloak-dev(a)lists.jboss.org
> >
https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev