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 E687328604 for ; Wed, 8 Aug 2018 07:10:19 -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 QVrGFHDuPQkD for ; Wed, 8 Aug 2018 07:10:19 -0400 (EDT) Received: from smtp49.i.mail.ru (smtp49.i.mail.ru [94.100.177.109]) (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 971F2229C8 for ; Wed, 8 Aug 2018 07:10:19 -0400 (EDT) From: AKhatskevich Subject: [tarantool-patches] [PATCH 3/3] Add LTO testing && refactor travis.yml Date: Wed, 8 Aug 2018 14:10:03 +0300 Message-Id: <9cc273d76e3ea8051835f32ced4df12dedfe6217.1533726342.git.avkhatskevich@tarantool.org> In-Reply-To: References: In-Reply-To: References: 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: georgy@tarantool.org, tarantool-patches@freelists.org --- .travis.mk | 2 +- .travis.yml | 50 +++++++++----------------------------------------- 2 files changed, 10 insertions(+), 42 deletions(-) diff --git a/.travis.mk b/.travis.mk index 66c921aa7..8077cddba 100644 --- a/.travis.mk +++ b/.travis.mk @@ -49,7 +49,7 @@ deps_osx: brew install openssl readline curl icu4c --force test_osx: deps_osx - cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo + cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo ${CMAKE_EXTRA_PARAMS} # Increase the maximum number of open file descriptors on macOS sudo sysctl -w kern.maxfiles=20480 || : sudo sysctl -w kern.maxfilesperproc=20480 || : diff --git a/.travis.yml b/.travis.yml index 997302e16..ee713be91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,11 +4,7 @@ services: language: cpp -os: - - linux - - osx - -osx_image: xcode9 +os: linux cache: directories: @@ -37,44 +33,16 @@ env: 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 + include: + - osx_image: xcode9 os: osx - - env: TARGET=coverage + env: + - TARGET=test + - osx_image: xcode9 os: osx + env: + - TARGET=test + - CMAKE_EXTRA_PARAMS="-DTARANTOOL_LTO=TRUE" script: - make -f .travis.mk ${TARGET} -- 2.14.1