Thread (14 messages) flat view 14 messages, 5 authors, 2016-06-15

Re: [PATCH v3 1/3] Add Travis CI support

From: Lars Schneider <hidden>
Date: 2016-06-15 23:06:52

On 13 Oct 2015, at 12:32, Jean-Noël Avila [off-list ref] wrote:
Le 11/10/2015 19:55, larsxschneider@gmail.com a écrit :
quoted
+
+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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help