Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH] Add Linux/clang CI target
@ 2018-09-22  0:40 Alexander Turenko
  2018-10-08  3:51 ` [tarantool-patches] " Sergei Voronezhskii
  2018-10-12 11:52 ` [tarantool-patches] " Kirill Yukhin
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Turenko @ 2018-09-22  0:40 UTC (permalink / raw)
  To: Sergei Voronezhskii, Kirill Yukhin; +Cc: Alexander Turenko, tarantool-patches

Replaced targets generation using a matrix expansion + exclusion list
with the explicit targets list. Gave meagingful names for targets.

Fixes #3673.
---

branch: https://github.com/tarantool/tarantool/tree/Totktonada/gh-3673-add-linux-clang-ci-target
issue: https://github.com/tarantool/tarantool/issues/3673

 .travis.yml | 94 +++++++++++++++++++++--------------------------------
 1 file changed, 37 insertions(+), 57 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index bcb018be8..a9d1036da 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,9 +4,9 @@ services:
 
 language: cpp
 
-os:
-  - linux
-  - osx
+# default values
+os: linux
+compiler: gcc
 
 osx_image: xcode9
 
@@ -17,64 +17,44 @@ cache:
 git:
     depth: 100500
 
-env:
-    matrix:
-      - TARGET=source
-      - TARGET=test
-      - TARGET=coverage
-      - OS=el DIST=6
-      - OS=el DIST=7
-      - OS=fedora DIST=26
-      - OS=fedora DIST=27
-      - OS=ubuntu DIST=artful
-      - OS=ubuntu DIST=trusty
-      - OS=ubuntu DIST=xenial
-      - OS=ubuntu DIST=bionic
-      - OS=debian DIST=wheezy
-      - OS=debian DIST=jessie
-      - OS=debian DIST=stretch
-
 matrix:
     allow_failures:
       - TARGET=coverage
-#      - env: OS=el DIST=6
-#      - env: OS=el DIST=7
-#      - env: OS=fedora DIST=26
-#      - env: OS=fedora DIST=27
-#      - env: OS=ubuntu DIST=artful
-#      - env: OS=ubuntu DIST=trusty
-#      - env: OS=ubuntu DIST=xenial
-#      - env: OS=ubuntu DIST=bionic
-#      - env: OS=debian DIST=wheezy
-#      - env: OS=debian DIST=jessie
-#      - env: OS=debian DIST=stretch
-    exclude:
-      - env: OS=el DIST=6
-        os: osx
-      - env: OS=el DIST=7
-        os: osx
-      - env: OS=fedora DIST=26
-        os: osx
-      - env: OS=fedora DIST=27
-        os: osx
-      - env: OS=ubuntu DIST=artful
-        os: osx
-      - env: OS=ubuntu DIST=trusty
-        os: osx
-      - env: OS=ubuntu DIST=xenial
-        os: osx
-      - env: OS=ubuntu DIST=bionic
-        os: osx
-      - env: OS=debian DIST=wheezy
-        os: osx
-      - env: OS=debian DIST=jessie
-        os: osx
-      - env: OS=debian DIST=stretch
-        os: osx
-      - env: TARGET=source
-        os: osx
-      - env: TARGET=coverage
+    include:
+      - name: Create and deploy tarball
+        env: TARGET=source
+      - name: RelWithDebInfoWError build + test (Linux, gcc)
+        env: TARGET=test
+      - name: RelWithDebInfoWError build + test (Linux, clang)
+        env: TARGET=test
+        compiler: clang
+      - name: RelWithDebInfoWError build + test (OS X)
+        env: TARGET=test
         os: osx
+      - name: Debug build + test + coverage (Linux, gcc)
+        env: TARGET=coverage
+      - name: CentOS 6 build + test + deploy RPM
+        env: OS=el DIST=6
+      - name: CentOS 7 build + test + deploy RPM
+        env: OS=el DIST=7
+      - name: Fedora 26 build + test + deploy RPM
+        env: OS=fedora DIST=26
+      - name: Fedora 27 build + test + deploy RPM
+        env: OS=fedora DIST=27
+      - name: Ubuntu Trusty (14.04) build + deploy DEB
+        env: OS=ubuntu DIST=trusty
+      - name: Ubuntu Xenial (16.04) build + deploy DEB
+        env: OS=ubuntu DIST=xenial
+      - name: Ubuntu Artful (17.10) build + deploy DEB
+        env: OS=ubuntu DIST=artful
+      - name: Ubuntu Bionic (18.04) build + deploy DEB
+        env: OS=ubuntu DIST=bionic
+      - name: Debian Wheezy (7) build + deploy DEB
+        env: OS=debian DIST=wheezy
+      - name: Debian Jessie (8) build + deploy DEB
+        env: OS=debian DIST=jessie
+      - name: Debian Stretch (9) build + deploy DEB
+        env: OS=debian DIST=stretch
 
 script:
   - make -f .travis.mk ${TARGET}
-- 
2.19.0

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

end of thread, other threads:[~2018-10-12 11:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-22  0:40 [tarantool-patches] [PATCH] Add Linux/clang CI target Alexander Turenko
2018-10-08  3:51 ` [tarantool-patches] " Sergei Voronezhskii
2018-10-12 11:52 ` [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