From patchwork Tue Oct 18 15:24:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 78075 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp939982qge; Tue, 18 Oct 2016 08:24:32 -0700 (PDT) X-Received: by 10.233.237.145 with SMTP id c139mr959633qkg.29.1476804272629; Tue, 18 Oct 2016 08:24:32 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id n59si21288540qtd.4.2016.10.18.08.24.32; Tue, 18 Oct 2016 08:24:32 -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 DFC1660CE3; Tue, 18 Oct 2016 15:24:31 +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 E38A0609BE; Tue, 18 Oct 2016 15:24:22 +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 A1DF1609C3; Tue, 18 Oct 2016 15:24:20 +0000 (UTC) Received: from mail-qk0-f170.google.com (mail-qk0-f170.google.com [209.85.220.170]) by lists.linaro.org (Postfix) with ESMTPS id B0DCC609BE for ; Tue, 18 Oct 2016 15:24:19 +0000 (UTC) Received: by mail-qk0-f170.google.com with SMTP id f128so284983388qkb.1 for ; Tue, 18 Oct 2016 08:24:19 -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=xLPHQMhNOBViXpxXc1n4C31vpr+QOs+9+D3z6GuNE8c=; b=FpU1QBhfri6VZEJv78yZlzi6y0Y5GPPNBlL2a6PenYRoSf2GxvoWPAsmD/M+YyckdK DcJgvmY2ICIYqTpWA7AkBR5mCoUHXiN6BpwQ6LrBJbv+aYPk/+oaYOIt2EzNeqYORNiA 9Z1Y2NeV0SPm71fWSfT70FwPqumm6RdLgO2i0hVtvgoFv9TWlC7urim93mBZRuWVI7Ag nKO/DWGbduhYyiD+hWy+aLparfh5ZuL1a4zxv8ARfmhqczL4kD/zzgaxCYblrzLkJbVx QRRtmREv3+JbUARs1Ed/b/H9C+g28pTR0m4VqioFcExr/Olspt7BomXlFPC+in42T8We z/Wg== X-Gm-Message-State: ABUngvdu2n7Ch4a49C/cucNHV4z7c1oF9/BZPuklbi2azpa4ZZ47Vyv7IilVoKsB/mKFaEi4/+w= X-Received: by 10.55.15.199 with SMTP id 68mr1018369qkp.232.1476804259232; Tue, 18 Oct 2016 08:24:19 -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 e36sm16789447qtd.42.2016.10.18.08.24.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Oct 2016 08:24:18 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Tue, 18 Oct 2016 11:24:14 -0400 Message-Id: <1476804254-20341-2-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1476804254-20341-1-git-send-email-mike.holmes@linaro.org> References: <1476804254-20341-1-git-send-email-mike.holmes@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 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 Reviewed-by: Brian Brooks diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..0675952 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,35 @@ + +language: c +compiler: clang +sudo: required + +before_install: + - sudo apt-get -qq update + - sudo apt-get install automake autoconf libtool libssl-dev graphviz mscgen git 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-user-guides && make + - ./configure --enable-test-cpp && make check + - ./configure --enable-test-vald && make check + - ./configure --enable-test-helper && make check + - ./configure --enable-test-perf && make check + - ./configure --enable-test-perf-proc && make check + - ./configure --enable-test-example && make check + - ./configure && make doxygen-doc + - ./configure && make distcheck