Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH] test: run full testing only on long-term branches
@ 2018-12-11 14:47 Alexander Turenko
  2018-12-14  5:08 ` [tarantool-patches] " Kirill Yukhin
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Turenko @ 2018-12-11 14:47 UTC (permalink / raw)
  To: Kirill Yukhin; +Cc: Alexander Turenko, tarantool-patches

Disabled LTO builds, tarballs and packages building on short-term
branches.

Removed 'allow_failures' on coverage / debug build.

Replaced matrix expansion with the list of jobs (because Travis-CI
documentation says it does not support condition jobs with matrix
expansion).

Fixes #3755.
---

https://github.com/tarantool/tarantool/issues/3755
https://github.com/tarantool/tarantool/tree/Totktonada/gh-3755-speedup-short-term-branch-ci

This patch is based on 2.1. It is possible that we'll create short-term
branches based on 1.10, so I think it should be cherry-picked to 1.10
too (with branch = "2.1" replaced with branch = "1.10").

 .travis.yml | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index a67933816..1273888f3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,12 +17,8 @@ cache:
 git:
     depth: 100500
 
-matrix:
-    allow_failures:
-      - TARGET=coverage
+jobs:
     include:
-      - name: Create and deploy tarball
-        env: TARGET=source
       - name: RelWithDebInfoWError build + test (Linux, gcc)
         env: TARGET=test
       - name: RelWithDebInfoWError build + test (Linux, clang)
@@ -35,36 +31,54 @@ matrix:
         env: TARGET=coverage
       - name: LTO build + test (Linux, gcc)
         env: TARGET=test CMAKE_EXTRA_PARAMS=-DENABLE_LTO=ON
+        if: branch = "2.1"
       - name: LTO build + test (Linux, clang)
         env: TARGET=test CMAKE_EXTRA_PARAMS=-DENABLE_LTO=ON
+        if: branch = "2.1"
         compiler: clang
       - name: LTO build + test (OS X)
         os: osx
         env: TARGET=test CMAKE_EXTRA_PARAMS=-DENABLE_LTO=ON
+        if: branch = "2.1"
+      - name: Create and deploy tarball
+        env: TARGET=source
+        if: branch = "2.1"
       - name: CentOS 6 build + test + deploy RPM
         env: OS=el DIST=6
+        if: branch = "2.1"
       - name: CentOS 7 build + test + deploy RPM
         env: OS=el DIST=7
+        if: branch = "2.1"
       - name: Fedora 26 build + test + deploy RPM
         env: OS=fedora DIST=26
+        if: branch = "2.1"
       - name: Fedora 27 build + test + deploy RPM
         env: OS=fedora DIST=27
+        if: branch = "2.1"
       - name: Ubuntu Trusty (14.04) build + deploy DEB
         env: OS=ubuntu DIST=trusty
+        if: branch = "2.1"
       - name: Ubuntu Xenial (16.04) build + deploy DEB
         env: OS=ubuntu DIST=xenial
+        if: branch = "2.1"
       - name: Ubuntu Artful (17.10) build + deploy DEB
         env: OS=ubuntu DIST=artful
+        if: branch = "2.1"
       - name: Ubuntu Bionic (18.04) build + deploy DEB
         env: OS=ubuntu DIST=bionic
+        if: branch = "2.1"
       - name: Ubuntu Cosmic (18.10) build + deploy DEB
         env: OS=ubuntu DIST=cosmic
+        if: branch = "2.1"
       - name: Debian Wheezy (7) build + deploy DEB
         env: OS=debian DIST=wheezy
+        if: branch = "2.1"
       - name: Debian Jessie (8) build + deploy DEB
         env: OS=debian DIST=jessie
+        if: branch = "2.1"
       - name: Debian Stretch (9) build + deploy DEB
         env: OS=debian DIST=stretch
+        if: branch = "2.1"
 
 script:
   - make -f .travis.mk ${TARGET}
-- 
2.19.2

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

* [tarantool-patches] Re: [PATCH] test: run full testing only on long-term branches
  2018-12-11 14:47 [tarantool-patches] [PATCH] test: run full testing only on long-term branches Alexander Turenko
@ 2018-12-14  5:08 ` Kirill Yukhin
  0 siblings, 0 replies; 2+ messages in thread
From: Kirill Yukhin @ 2018-12-14  5:08 UTC (permalink / raw)
  To: Alexander Turenko; +Cc: tarantool-patches

Hello,
On 11 Dec 17:47, Alexander Turenko wrote:
> Disabled LTO builds, tarballs and packages building on short-term
> branches.
> 
> Removed 'allow_failures' on coverage / debug build.
> 
> Replaced matrix expansion with the list of jobs (because Travis-CI
> documentation says it does not support condition jobs with matrix
> expansion).
> 
> Fixes #3755.
> ---
> 
> https://github.com/tarantool/tarantool/issues/3755
> https://github.com/tarantool/tarantool/tree/Totktonada/gh-3755-speedup-short-term-branch-ci
I've chacked your patch into 2.1 branch.

--
Regards, Kirill Yukhin

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

end of thread, other threads:[~2018-12-14  5:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-11 14:47 [tarantool-patches] [PATCH] test: run full testing only on long-term branches Alexander Turenko
2018-12-14  5:08 ` [tarantool-patches] " Kirill Yukhin

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