From patchwork Fri Oct 21 18:40:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 78710 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp1444009qge; Fri, 21 Oct 2016 11:41:59 -0700 (PDT) X-Received: by 10.237.44.193 with SMTP id g59mr2788501qtd.144.1477075319857; Fri, 21 Oct 2016 11:41:59 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 92si2746217qtf.115.2016.10.21.11.41.59; Fri, 21 Oct 2016 11:41:59 -0700 (PDT) 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 dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 71E2461D3B; Fri, 21 Oct 2016 18:41:59 +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=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL 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 322CB61D3B; Fri, 21 Oct 2016 18:41:55 +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 D535061D57; Fri, 21 Oct 2016 18:41:52 +0000 (UTC) Received: from mail-qt0-f182.google.com (mail-qt0-f182.google.com [209.85.216.182]) by lists.linaro.org (Postfix) with ESMTPS id 67E0561D3C for ; Fri, 21 Oct 2016 18:40:43 +0000 (UTC) Received: by mail-qt0-f182.google.com with SMTP id q7so94779467qtq.1 for ; Fri, 21 Oct 2016 11:40:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Tjx6cM7FtScc3bZlRIGq039AosmanVPHHvJs8xulEpQ=; b=RBY4esGX35n4uHoFQ+KSLuF01lBVBPtnSFGB7dLryuzgxfH878WY3+kiLK5em+u0aL 8GhLje/x7mojwLKuROX5XjVsAnZhMSLBfNXYvZyV1XEnmM4lhqkCJYPB9GU88YVKzwhY aLK5e6ajjbnff9rCh/gjA83srVGtdML/tYSfcuvjGAjKwF7eCPXV5G5bxjsi+ed3NMwV vmCymtJ4vqxKviWcW6gR8isR5j5Zm2zVbpTto61l+SQsw8gj+kjVTAnLPcR3z85kWW14 HqpyAbz/3oI+VT+baP0B2o1TjAHpkWDoMwsBiXz7BK7F5Z/PRhZA0aOm9MMUIy1GgNY3 hD3g== X-Gm-Message-State: ABUngveH4Xzi3a1q3QOioY38tKvqvX3g+wbpChy8RgwzvPYwJ/NxFc3Ffpem6Eozhpfqp2eIlaQ= X-Received: by 10.200.40.162 with SMTP id i31mr2809681qti.70.1477075242977; Fri, 21 Oct 2016 11:40:42 -0700 (PDT) Received: from localhost (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by smtp.gmail.com with ESMTPSA id c15sm2004899qtb.21.2016.10.21.11.40.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Oct 2016 11:40:42 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 21 Oct 2016 14:40:18 -0400 Message-Id: <1477075218-14178-2-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477075218-14178-1-git-send-email-mike.holmes@linaro.org> References: <1477075218-14178-1-git-send-email-mike.holmes@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH v2 2/2] add travis.yml for gitub automation 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" allows pushes to a github clone of ODP to automatically trigger CI builds Signed-off-by: Mike Holmes --- .travis.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .travis.yml -- 2.7.4 diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..0d1add3 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,35 @@ +# Copyright (c) 2016, Linaro Limited +# All rights reserved. +# SPDX-License-Identifier: BSD-3-Clause + + + +language: c +compiler: clang +sudo: required + +before_install: + - sudo apt-get -qq update + - sudo apt-get install automake autoconf libtool libssl-dev graphviz mscgen doxygen + - gem install asciidoctor + +# 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" + +install: + - ./bootstrap + +script: + - ./configure --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example + - make check + - make doxygen-doc + - make distcheck