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 - <