Re: [PATCH] travis-ci: build Git during the 'script' phase
- From
SZEDER Gábor <szeder.dev@gmail.com>
- Date
- Jan 14, 2018, 10:43 UTC
- Message-ID
- <CAM0VKjkmEThnM7KdQ=SJFGK1E_zdjsCFnFas7fsRG97aQmS52g@mail.gmail.com>
- In-Reply-To
- <20180113105407.GA31825@sigill.intra.peff.net>
On Sat, Jan 13, 2018 at 11:54 AM, Jeff King <peff@peff.net> wrote:
> I think there's also a similar feature to include timings for each fold, > which might be worth pursuing.
If you look for 'travis_time' in the raw log, you'll find lines like these:
travis_time:start:01ccbe40 $ some-command ... and its output ... travis_time:end:01ccbe40:start=1515840453305552968,finish=1515840471960386859,duration=18654833891
So it seems doable, but we'll have to do the timekeeping ourselves. Running 'time $cmd' is much easier, but that time won't be displayed next to the folds, of course. Do we really care that much?
Gábor