From 6f9a7f7aa19105db5470d96d0bda6624f30ed6e5 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 4 Apr 2017 12:04:05 +0930 Subject: [PATCH] Travis support. Signed-off-by: Rusty Russell --- .travis.yml | 7 +++++++ tools/travis.sh | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .travis.yml create mode 100755 tools/travis.sh diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..451dff537 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: c +dist: trusty +sudo: true + +# Trusty (aka 14.04) is way way too old, so run in docker... +script: + - tools/travis.sh diff --git a/tools/travis.sh b/tools/travis.sh new file mode 100755 index 000000000..91cb3289f --- /dev/null +++ b/tools/travis.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +# This build script is for running the Travis builds using docker. +# Stolen from: https://github.com/shenki/openbmc-build-scripts/blob/master/linux-openbmc-build.sh + +# Trace bash processing +set -ex + +# Build the docker container +docker build -t ubuntu - <