Re: Making travis logs less verbose

2019-02-11 Thread Meisam Fathi
I noticed a couple other things in .travis.yml, but I am not sure why they
are needed.

   - The base image is ubuntu:trusty. Can we update it to a later LTS
   version of ubuntu like Xenial?
   - Travis builds Livy twice: Is there a reason why two mvn builds are
   needed?

install:  - mvn $MVN_FLAG install -Dskip -DskipTests -DskipITs
-Dmaven.javadoc.skip=true -B -V
script:  - mvn $MVN_FLAG verify -e


On Mon, Feb 11, 2019 at 5:52 PM Saisai Shao  wrote:

> Problem is that there's no better way to get detailed log on travis without
> printing in out on screen. I was struggling on it when debugging on travis.
>
> Thanks
> Saisai
>
> Meisam Fathi  于2019年2月9日周六 下午12:19写道:
>
> > This may do the trick for maven
> >
> > mvn -Dorg.slf4j.simpleLogger.defaultLogLevel=warn ...
> >
> > Tanks,
> > Meisam
> >
> > On Fri, Feb 8, 2019 at 2:11 PM Marcelo Vanzin
>  > >
> > wrote:
> >
> > > If you know how to silence messages from the setup phase (apt / pip /
> > > git), go for it. Those seem kinda hidden by Travis, but maybe there's
> > > a setting I'm not familiar with.
> > >
> > > Maven also has a -B option that makes things a little less verbose in
> > > non-interactive terminals. I think -quiet might be a little overkill.
> > >
> > > On Thu, Feb 7, 2019 at 2:40 PM Meisam Fathi 
> > > wrote:
> > > >
> > > > Each build on travis generates 10K+ lines of log. Should we make
> build
> > > > commands less verbose by passing --quiet to them?
> > > >
> > > > As an example, apt-get installs and pip installs generate 3K+ lines
> on
> > > > their own. Maven generates another 6K+ lines of log, but I am not
> sure
> > if
> > > > scilencing maven is a good idea. Passing --quiet to Maven silences
> > scalac
> > > > warnging.
> > > >
> > > > Having said all of that, should we make travis logs less verbose? If
> > > yes, I
> > > > can send a PR.
> > > >
> > > > Thanks,
> > > > Meisam
> > >
> > >
> > >
> > > --
> > > Marcelo
> > >
> >
>


Re: Making travis logs less verbose

2019-02-08 Thread Meisam Fathi
This may do the trick for maven

mvn -Dorg.slf4j.simpleLogger.defaultLogLevel=warn ...

Tanks,
Meisam

On Fri, Feb 8, 2019 at 2:11 PM Marcelo Vanzin 
wrote:

> If you know how to silence messages from the setup phase (apt / pip /
> git), go for it. Those seem kinda hidden by Travis, but maybe there's
> a setting I'm not familiar with.
>
> Maven also has a -B option that makes things a little less verbose in
> non-interactive terminals. I think -quiet might be a little overkill.
>
> On Thu, Feb 7, 2019 at 2:40 PM Meisam Fathi 
> wrote:
> >
> > Each build on travis generates 10K+ lines of log. Should we make build
> > commands less verbose by passing --quiet to them?
> >
> > As an example, apt-get installs and pip installs generate 3K+ lines on
> > their own. Maven generates another 6K+ lines of log, but I am not sure if
> > scilencing maven is a good idea. Passing --quiet to Maven silences scalac
> > warnging.
> >
> > Having said all of that, should we make travis logs less verbose? If
> yes, I
> > can send a PR.
> >
> > Thanks,
> > Meisam
>
>
>
> --
> Marcelo
>


Re: Making travis logs less verbose

2019-02-08 Thread Marcelo Vanzin
If you know how to silence messages from the setup phase (apt / pip /
git), go for it. Those seem kinda hidden by Travis, but maybe there's
a setting I'm not familiar with.

Maven also has a -B option that makes things a little less verbose in
non-interactive terminals. I think -quiet might be a little overkill.

On Thu, Feb 7, 2019 at 2:40 PM Meisam Fathi  wrote:
>
> Each build on travis generates 10K+ lines of log. Should we make build
> commands less verbose by passing --quiet to them?
>
> As an example, apt-get installs and pip installs generate 3K+ lines on
> their own. Maven generates another 6K+ lines of log, but I am not sure if
> scilencing maven is a good idea. Passing --quiet to Maven silences scalac
> warnging.
>
> Having said all of that, should we make travis logs less verbose? If yes, I
> can send a PR.
>
> Thanks,
> Meisam



-- 
Marcelo


Making travis logs less verbose

2019-02-07 Thread Meisam Fathi
Each build on travis generates 10K+ lines of log. Should we make build
commands less verbose by passing --quiet to them?

As an example, apt-get installs and pip installs generate 3K+ lines on
their own. Maven generates another 6K+ lines of log, but I am not sure if
scilencing maven is a good idea. Passing --quiet to Maven silences scalac
warnging.

Having said all of that, should we make travis logs less verbose? If yes, I
can send a PR.

Thanks,
Meisam