From 99f146145c49e960af6e7da9391908cb30617227 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Mon, 31 Oct 2016 13:51:32 +1100 Subject: travis-ci: use Docker containers for a matrix of platforms This greatly simplifies the build process for travis, yet makes it more powerful and increases coverage without increasing wall time to test. Travis has the concept of a build matrix, and we want to ensure we continue to build succesfully on a variety of platforms and compiler combinations. We limit what we run on some OSs to conserve vital sanity. Signed-off-by: Stewart Smith --- opal-ci/Dockerfile-centos7 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 opal-ci/Dockerfile-centos7 (limited to 'opal-ci/Dockerfile-centos7') diff --git a/opal-ci/Dockerfile-centos7 b/opal-ci/Dockerfile-centos7 new file mode 100644 index 0000000..c9d4c87 --- /dev/null +++ b/opal-ci/Dockerfile-centos7 @@ -0,0 +1,10 @@ +FROM centos:7 +RUN yum -y update && yum clean all +RUN yum -y install wget xterm gcc git xz make diffutils findutils expect valgrind valgrind-devel +RUN wget https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.8.0/x86_64-gcc-4.8.0-nolibc_powerpc64-linux.tar.xz +RUN mkdir /opt/cross +RUN tar -C /opt/cross -xf x86_64-gcc-4.8.0-nolibc_powerpc64-linux.tar.xz +COPY . /build/ +WORKDIR /build +# We don't have a custom centos 7 build, same script for now +ENTRYPOINT ./opal-ci/build-centos6.sh -- cgit v1.1