public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [RFC PATCH v2 0/5] Travis enhancements
@ 2017-12-01 15:46 Petr Vorel
  2017-12-01 15:46 ` [LTP] [RFC PATCH v2 1/5] travis: Add build script and use it in travis Petr Vorel
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Petr Vorel @ 2017-12-01 15:46 UTC (permalink / raw)
  To: ltp

TL;DR
See https://travis-ci.org/pevik-travis/ltp/builds/310089523

Now we have 11 jobs testing 7 compilers in 3 different ways (mostly normal
builds, 2x 32-bit cross-compile builds, 1x out-of-tree build, 1x build with
minimal dependencies).

It seems to be rule running only 5 containers at a time, so 11th build slowes
building about 4 min (18 min vs. 22 min). Which build would you remove?

I decided to specify dependencies in file (saves some duplicity).
These files can be used for builds on Debian/Ubuntu (as we re

Changes v1->v2:
* Dropped compilers:
  Dropped: gcc 4.6, 4.7, 4.8 and clang 3.5, 3.8
* Added different types of builds (32-bit cross-compile builds, out-of-tree build)
* Better handling of header and library dependencies (minimal build and build with full support).
* Minor changes.

Notes what I learned:
* Travis needs sudo for using apt, but it does not allow to use it in script
  (it must be in travis.yml)
* Don't use $INSTALL environment variable (I haven't figured how, but it
  reported build to be failed).


Petr Vorel (5):
  travis: Add build script and use it in travis
  travis: Drop old compilers, add new ones
  travis: Add 32-bit cross-compile builds
  travis: Add out-of-tree build
  travis: Install all dependencies + add build with minimal dependencies

 .travis.packages_i386   |   9 ++++
 .travis.packages_native |  18 ++++++++
 .travis.yml             |  87 ++++++++++++++++++++++++++-----------
 build.sh                | 111 ++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 201 insertions(+), 24 deletions(-)
 create mode 100644 .travis.packages_i386
 create mode 100644 .travis.packages_native
 create mode 100755 build.sh

-- 
2.15.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-12-06 10:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-01 15:46 [LTP] [RFC PATCH v2 0/5] Travis enhancements Petr Vorel
2017-12-01 15:46 ` [LTP] [RFC PATCH v2 1/5] travis: Add build script and use it in travis Petr Vorel
2017-12-04  9:55   ` Li Wang
2017-12-04 11:24     ` Petr Vorel
2017-12-01 15:46 ` [LTP] [RFC PATCH v2 2/5] travis: Drop old compilers, add new ones Petr Vorel
2017-12-01 15:46 ` [LTP] [RFC PATCH v2 3/5] travis: Add 32-bit cross-compile builds Petr Vorel
2017-12-01 15:46 ` [LTP] [RFC PATCH v2 4/5] travis: Add out-of-tree build Petr Vorel
2017-12-01 15:46 ` [LTP] [RFC PATCH v2 5/5] travis: Install all dependencies + add build with minimal dependencies Petr Vorel
2017-12-04 16:44 ` [LTP] [RFC PATCH v2 0/5] Travis enhancements Cyril Hrubis
2017-12-05 18:58   ` Petr Vorel
2017-12-06 10:27     ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox