# Use official CentOS image https://hub.docker.com/_/centos/. image: centos:latest before_script: - yum update -y - yum install -y which gnome-common gnome-doc-utils glib2-devel intltool gcc-c++ libuuid-devel parted-devel gtkmm24-devel make polkit file stages: - build - test # Check GParted can be built and installed. centos_build: stage: build script: - ./autogen.sh - make - make install # Check GParted unit tests and distcheck pass. centos_test: stage: test script: - ./autogen.sh - make # Exclude specific unit test which fails without /dev/disk in Docker images. - export GTEST_FILTER='-BlockSpecialTest.NamedBlockSpecialObjectBySymlinkMatches' - make check - make distcheck