Re: [PATCH v3 1/3] Add Travis CI support
- From
Lars Schneider <larsxschneider@gmail.com>
- Date
- Oct 15, 2015, 07:59 UTC
- Message-ID
- <14146E1E-857D-416B-9287-F20826DCB806@gmail.com>
- In-Reply-To
- <561CDDBA.609@gmail.com>
On 13 Oct 2015, at 12:32, Jean-Noël Avila <avila.jn@gmail.com> wrote:
Show 13 quoted lines
> Le 11/10/2015 19:55, larsxschneider@gmail.com a écrit : >> + >> +before_script: make >> + >> +script: make --quiet test > > Travis can be used in container mode but that would need getting rid of > "sudo" command and only installing from white-listed sources > (https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json) > > Anyway, even within the present VM mode, 1.5 cores are available, so it > makes sense to add "-j2" to every make commands. >
I was reluctant to this because I feared problems. Especially while running tests in parallel. However, the result looks quite good.
make -j2 9min 11sec: https://travis-ci.org/larsxschneider/git/jobs/85478022
make 17min 20sec: https://travis-ci.org/larsxschneider/git/jobs/85432398
If there is no argument against running test in parallel then I will add it to the next roll.
Thanks, Lars