From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id C8F0B2B852 for ; Fri, 21 Sep 2018 20:40:21 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AjBlWgTqH22u for ; Fri, 21 Sep 2018 20:40:21 -0400 (EDT) Received: from smtp50.i.mail.ru (smtp50.i.mail.ru [94.100.177.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 2A6E92B0D7 for ; Fri, 21 Sep 2018 20:40:21 -0400 (EDT) From: Alexander Turenko Subject: [tarantool-patches] [PATCH] Add Linux/clang CI target Date: Sat, 22 Sep 2018 03:40:17 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: Sergei Voronezhskii , Kirill Yukhin Cc: Alexander Turenko , tarantool-patches@freelists.org 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