From patchwork Fri Feb 10 15:09:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 93789 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp546262qgi; Fri, 10 Feb 2017 07:10:17 -0800 (PST) X-Received: by 10.55.19.16 with SMTP id d16mr9907856qkh.179.1486739417528; Fri, 10 Feb 2017 07:10:17 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w54si1434664qta.206.2017.02.10.07.10.17; Fri, 10 Feb 2017 07:10:17 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 0654562D76; Fri, 10 Feb 2017 15:10:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 859F3608E2; Fri, 10 Feb 2017 15:10:12 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 95599608D3; Fri, 10 Feb 2017 15:10:08 +0000 (UTC) Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) by lists.linaro.org (Postfix) with ESMTPS id 2331D608D3 for ; Fri, 10 Feb 2017 15:10:07 +0000 (UTC) Received: by mail-lf0-f45.google.com with SMTP id v186so23024940lfa.1 for ; Fri, 10 Feb 2017 07:10:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=brVxvO9HtcbSpzbF05eDJQ/xUs9HGF/OENjTCKq93Pg=; b=VMjgJjc99yS3dLI18I8gcdkdfnQNq64CC/vLhAKFHSpXwmVEJvv2wWI85Q9e4ur6EB QpmiHhvreA9G6W9BuIEU86uxAx1b0FXKpG2G8UZT+RKWR+H9+TEwKFwYYd1DQeIXxkGE L2Tm6a/0zRIaQw1BVV6vRmDNgEp3QAVZ02cxUcfcLAcKdZtBkypATK7qWzSrodbAhDMU yYeasC5qH69mpX8vAxybyAQk2+6owomO+RpPRU3E6ICnoJKMoPlHWxcatzXxfmRqezr4 CSD2pYAt0C6HlREDIdxsG6VbOQT7poTLZhzke4+C0//jFceHbTjYS0Z1Lyh8UmLtiCBv ZgTQ== X-Gm-Message-State: AMke39lW1inRxewteFN2UBXdnF8t06ZT6PW6mDq64Wv33+SapE7YoDsoHa6P5Gd7Evz2wiH+jAA= X-Received: by 10.25.206.145 with SMTP id e139mr3476510lfg.168.1486739405838; Fri, 10 Feb 2017 07:10:05 -0800 (PST) Received: from localhost.localdomain (ppp109-252-7-40.pppoe.spdop.ru. [109.252.7.40]) by smtp.gmail.com with ESMTPSA id b7sm616267lfe.33.2017.02.10.07.10.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Feb 2017 07:10:05 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Fri, 10 Feb 2017 18:09:35 +0300 Message-Id: <20170210150935.24733-1-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.11.0.295.gd7dffce Subject: [lng-odp] [PATCH] travis: switch to ubuntu trusty X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" ubuntu trusty has updated doxygen 1.8.4 which match your requirements and do not generate any warnings. Also no need to compile cunit anymore we can take it from packages. Compiler version stays the same 4.8 for gcc. Signed-off-by: Maxim Uvarov --- .travis.yml | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) -- 2.11.0.295.gd7dffce diff --git a/.travis.yml b/.travis.yml index 9544ec8f..90602b64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ language: c sudo: required +dist: trusty env: global: # COVERITY_SCAN_TOKEN @@ -34,13 +35,13 @@ env: matrix: include: - - compiler: gcc-4.8 + - compiler: gcc addons: apt: sources: - ubuntu-toolchain-r-test packages: - - gcc-4.8 + - gcc env: MY_CF="-O0 -coverage" MY_LDF="--coverage" DOCOV=1 - compiler: clang addons: @@ -55,23 +56,11 @@ before_install: - sudo apt-get -qq update - sudo apt-get install automake autoconf libtool libssl-dev graphviz mscgen doxygen - - sudo apt-get install libpcap-dev linux-headers-`uname -r` + - sudo apt-get install libpcap-dev linux-headers-`uname -r` libcunit1-dev - sudo pip install coverage - gem install asciidoctor - PATH=${PATH//:\.\/node_modules\/\.bin/} -# Install cunit for the validation tests because distro version is too old and fails C99 compile - - export CUNIT_VERSION=2.1-3 - - curl -sSOL http://sourceforge.net/projects/cunit/files/CUnit/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2 - - tar -jxf *.bz2 - - cd CUnit* - - ./bootstrap - - ./configure --enable-debug --enable-automated --enable-basic --enable-console --enable-examples --enable-test - - make - - sudo make install - - cd .. - - export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" - # DPDK pktio - TARGET=${TARGET:-"x86_64-native-linuxapp-gcc"} - git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v16.07 http://dpdk.org/git/dpdk dpdk @@ -124,7 +113,7 @@ script: - sudo rm -rf $KSRC after_success: - - if [ -n "$DOCOV" ]; then find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov-4.8 {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy; fi + - if [ -n "$DOCOV" ]; then find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy; fi addons: coverity_scan: