git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v4 4/4] Add Travis CI support

From
Sebastian Schuberth <sschuberth@gmail.com>
Date
Nov 6, 2015, 13:20 UTC
Message-ID
<CAHGBnuNwzGNjfh57zFOtwr6qU1PCsc7rgOniY8-Mz5Jgnv2QTg@mail.gmail.com>
In-Reply-To
<22B2C2B1-9260-4EC0-A4C5-C7F7DDD388BA@gmail.com>
On Fri, Nov 6, 2015 at 2:11 PM, Lars Schneider <larsxschneider@gmail.com> wrote:
Show 7 quoted lines
> Per platform/compiler (Linux&Mac/clang&gcc) we run two configurations. One
> normal configuration (see the lonely "-" right under "matrix:") and one
> configuration with all sorts of things are disabled ("NO...").
>
> You can see all 8 configurations ([linux, mac] * [clang, gcc] * [normal,
> NO_...]) here:
> https://travis-ci.org/larsxschneider/git/builds/89598194

Aren't these 8 configurations a bit too much? I see the total running time is about 2 hours. For my taste, this is way to much to give developers feedback about the status of their PR. It should be something < 30 minutes.

IMO, the purpose of the Travis CI configuration mainly is to 1) save developers work by not requiring to build manually, 2) build on other platforms than the developer has access to. I doubt that the average developer manually builds anything close to these 8 configurations before we had this job, so I wouldn't make it a requirement for Travis to do much more than a developer could / would to manually.

On the other hand, I see the point in letting a CI system test more configurations than manually feasible. But that should be done as part of a different job then. E.g. we could have a "fast" PR validation job, and a "slow" nightly build job.

-- 
Sebastian Schuberth
Previous: Lars SchneiderNext: Lars Schneider
Message 15 of 20 in “Add Travis CI support”
  1. 0/4 Add Travis CI supportlarsxschneider@gmail.com, Nov 6, 2015
  2. 1/4 add function test_must_fail_or_sigpipe and use it to fix flaky testslarsxschneider@gmail.com, Nov 6, 2015
  3. Junio C HamanoNov 6, 2015
  4. Junio C HamanoNov 6, 2015
  5. 2/4 git-p4: add p4d timeout in testslarsxschneider@gmail.com, Nov 6, 2015
  6. Eric SunshineNov 6, 2015
  7. Lars SchneiderNov 6, 2015
  8. 3/4 git-p4: retry kill/cleanup operations in tests with timeoutlarsxschneider@gmail.com, Nov 6, 2015
  9. Eric SunshineNov 6, 2015
  10. Lars SchneiderNov 6, 2015
  11. Lars SchneiderNov 6, 2015
  12. 4/4 Add Travis CI supportlarsxschneider@gmail.com, Nov 6, 2015
  13. Eric SunshineNov 6, 2015
  14. Lars SchneiderNov 6, 2015
  15. Sebastian SchuberthNov 6, 2015
  16. Lars SchneiderNov 6, 2015
  17. Sebastian SchuberthNov 6, 2015
  18. Lars SchneiderNov 6, 2015
  19. Sebastian SchuberthNov 6, 2015
  20. Lars SchneiderNov 6, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.