Re: [PATCH v3 1/3] Add Travis CI support
- From
Sebastian Schuberth <sschuberth@gmail.com>
- Date
- Oct 12, 2015, 18:42 UTC
- Message-ID
- <CAHGBnuMU6d3rqW6sa=u+mE-95zRJZvopJVdLQAUi=-cc+xW86A@mail.gmail.com>
- In-Reply-To
- <xmqq37xgnkh0.fsf@gitster.mtv.corp.google.com>
On Mon, Oct 12, 2015 at 6:02 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 12 quoted lines
>> Semantically, it does not seem correct to me that configuarion goes to >> the install step. As "make test" will build git anyway, I'd instead >> propose to get rid of "install" and just say: >> >> before_script: make configure && ./configure >> >> script: make --quiet test > > Very good point. Do we even need to do anything in the "install" > target? We aim to be able to testable without any installed Git, > and not running "make install" at all, ever, would be one way to > make sure that works.
Note that Travis' "install" step is about installing dependencies for the application to build [1], not for installing the built application (i.e. what "make install" does). In any case, I still think configuring the application to built in this step is wrong.
> we are to start using automated tests, I wonder if we want to build > (and optionally test) with various combinations of the customization > options (e.g. NO_CURL, NO_OPENSSL, NO_MMAP, NO_IPV6, NO_PERL etc.)
I like that idea, but I think we should save that for a future improvement to .travis.yml.
[1] http://docs.travis-ci.com/user/installing-dependencies/
-- Sebastian Schuberth