aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml4
-rw-r--r--ciimage/Dockerfile18
-rwxr-xr-xtest cases/frameworks/17 mpi/is_broken_ubuntu.py (renamed from test cases/frameworks/17 mpi/is_artful.py)2
-rw-r--r--test cases/frameworks/17 mpi/meson.build2
4 files changed, 13 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml
index 16fa55b..77deae8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -37,13 +37,13 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python@2 python@3 mercurial qt; fi
# Use a Ninja with QuLogic's patch: https://github.com/ninja-build/ninja/issues/1219
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir -p $HOME/tools; curl -L http://nirbheek.in/files/binaries/ninja/macos/ninja -o $HOME/tools/ninja; chmod +x $HOME/tools/ninja; fi
- - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker pull jpakkane/mesonci:artful; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker pull jpakkane/mesonci:bionic; fi
# We need to copy the current checkout inside the Docker container,
# because it has the MR id to be tested checked out.
script:
- - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo FROM jpakkane/mesonci:artful > Dockerfile; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo FROM jpakkane/mesonci:bionic > Dockerfile; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo ADD . /root >> Dockerfile; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker build -t withgit .; fi
- |
diff --git a/ciimage/Dockerfile b/ciimage/Dockerfile
index 73f1495..92f4cfc 100644
--- a/ciimage/Dockerfile
+++ b/ciimage/Dockerfile
@@ -1,19 +1,19 @@
-FROM ubuntu:artful
+FROM ubuntu:bionic
+
+ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -y update && apt-get -y upgrade \
-&& apt-get -y install git wget unzip \
+&& apt-get -y install wget unzip \
&& apt-get -y build-dep meson \
&& apt-get -y install qt5-default qtbase5-private-dev clang \
-&& apt-get -y install pkg-config-arm-linux-gnueabihf g++-7-arm-linux-gnueabihf \
+&& apt-get -y install pkg-config-arm-linux-gnueabihf \
&& apt-get -y install doxygen \
&& apt-get -y install python3-pip libxml2-dev libxslt1-dev cmake libyaml-dev \
-&& apt-get -y install libcups2-dev \
-&& apt-get -y install gcovr lcov \
-&& apt-get -y install fpga-icestorm arachne-pnr yosys \
-&& apt-get -y install gtk-sharp2 gtk-sharp2-gapi libglib2.0-cil-dev \
-&& apt-get -y install libwmf-dev \
-&& apt-get -y install qt4-linguist-tools qttools5-dev-tools \
+&& apt-get -y install qt4-linguist-tools \
&& apt-get -y install python-dev \
+&& apt-get -y install libomp-dev openssh-client \
&& python3 -m pip install hotdoc codecov
+# OpenSSH client is needed to run openmpi binaries.
+
ENV LANG='C.UTF-8'
diff --git a/test cases/frameworks/17 mpi/is_artful.py b/test cases/frameworks/17 mpi/is_broken_ubuntu.py
index 9d4512d..d0c0d0d 100755
--- a/test cases/frameworks/17 mpi/is_artful.py
+++ b/test cases/frameworks/17 mpi/is_broken_ubuntu.py
@@ -5,5 +5,5 @@
import sys
fc = open('/etc/apt/sources.list').read()
-if 'artful' not in fc:
+if 'artful' not in fc and 'bionic' not in fc:
sys.exit(1)
diff --git a/test cases/frameworks/17 mpi/meson.build b/test cases/frameworks/17 mpi/meson.build
index 01ad61d..f3eacac 100644
--- a/test cases/frameworks/17 mpi/meson.build
+++ b/test cases/frameworks/17 mpi/meson.build
@@ -31,7 +31,7 @@ endif
#
# https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1727474
-ubudetector = find_program('is_artful.py')
+ubudetector = find_program('is_broken_ubuntu.py')
uburesult = run_command(ubudetector)
if uburesult.returncode() != 0 and add_languages('fortran', required : false)