aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-12-02 11:26:36 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-12-02 11:26:36 +0100
commit8323793f96142bcf99a28c4da8720596a2c91e81 (patch)
treeaf19d1637f914ece258dfc443244e290bb29cb6b
parent6f86a8c67a3474252d79f66f5dbd0b325a6e40e0 (diff)
downloadayatana-ido-8323793f96142bcf99a28c4da8720596a2c91e81.tar.gz
ayatana-ido-8323793f96142bcf99a28c4da8720596a2c91e81.tar.bz2
ayatana-ido-8323793f96142bcf99a28c4da8720596a2c91e81.zip
TRAVIS: first attempt of doing CI builds in docker images.
-rw-r--r--.travis.yml148
1 files changed, 25 insertions, 123 deletions
diff --git a/.travis.yml b/.travis.yml
index c5bdeed..f4e09fd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,130 +1,32 @@
-# Use new bionic images, should yield newer compilers and packages
-language: cpp
-os: linux
+# vim: set ts=2 sts=2 sw=2 expandtab :
dist: bionic
+language: shell
+os: linux
+services:
+ - docker
-jobs:
- include:
-# - name: "GCC 5.4"
-# dist: xenial
-# addons:
-# apt:
-# update: true
-# sources:
-# - ubuntu-toolchain-r-test
-# packages:
-# - gobject-introspection
-# - gtk-doc-tools
-# - libgirepository1.0-dev
-# - libglib2.0-dev
-# - libgtest-dev
-# - libgtk-3-dev
-# - libx11-dev
-# - libxi-dev
-# - mate-common
-# - valac
-#
-# env:
-# - MATRIX_EVAL="CC=gcc && CXX=g++"
-#
- - name: "GCC 7.4 / Ubuntu bionic"
- dist: bionic
- addons:
- apt:
- update: true
- sources:
- - ubuntu-toolchain-r-test
- packages:
- - gobject-introspection
- - gtk-doc-tools
- - libgirepository1.0-dev
- - libglib2.0-dev
- - libgtest-dev
- - libgtk-3-dev
- - libx11-dev
- - libxi-dev
- - mate-common
- - valac
-
- env:
- - MATRIX_EVAL="CC=gcc && CXX=g++"
-
- - name: "GCC 10.x / Ubuntu bionic"
- dist: bionic
- addons:
- apt:
- update: true
- sources:
- - ubuntu-toolchain-r-test
- packages:
- - g++-10
- - gobject-introspection
- - gtk-doc-tools
- - libgirepository1.0-dev
- - libglib2.0-dev
- - libgtest-dev
- - libgtk-3-dev
- - libx11-dev
- - libxi-dev
- - mate-common
- - valac
-
- env:
- - MATRIX_EVAL="CC=gcc-10 && CXX=g++-10"
-
-# - name: "Clang 3.9"
-# dist: xenial
-# addons:
-# apt:
-# update: true
-# sources:
-# - llvm-toolchain-xenial-3.9
-# packages:
-# - clang-3.9
-# - gobject-introspection
-# - gtk-doc-tools
-# - libgirepository1.0-dev
-# - libglib2.0-dev
-# - libgtest-dev
-# - libgtk-3-dev
-# - libx11-dev
-# - libxi-dev
-# - mate-common
-# - valac
-#
-# env:
-# - MATRIX_EVAL="CC=clang-3.9 && CXX=clang++-3.9"
-#
- - name: "Clang 9.x / Ubuntu bionic"
- dist: bionic
- addons:
- apt:
- update: true
- sources:
- - llvm-toolchain-bionic-9
- - ubuntu-toolchain-r-test
- packages:
- - clang-9
- - gobject-introspection
- - gtk-doc-tools
- - libgirepository1.0-dev
- - libglib2.0-dev
- - libgtest-dev
- - libgtk-3-dev
- - libx11-dev
- - libxi-dev
- - mate-common
- - valac
-
- env:
- - MATRIX_EVAL="CC=clang-9 && CXX=clang++-9"
+addons:
+ apt:
+ packages:
+ - python3-pip
+ - python3-setuptools
before_install:
- - eval "${MATRIX_EVAL}"
+ # let's use the MATE project's docker build scripts...
+ - curl -Ls -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build
+ - curl -Ls -o gen-index https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/gen-index.sh
+ - sed -i gen-index -e "s/mate-desktop/ayatana-indicators/g"
+ - chmod +x docker-build gen-index
-before_scripts:
- - NOCONFIGURE=1 ./autogen.sh
+install:
+ - pip3 install PyGithub
+ - ./docker-build --name ${DISTRO} --config .build.yml --install
script:
- - ./configure --disable-option-checking --disable-silent-rules --disable-maintainer-mode --disable-dependency-tracking
- - make && make check
+ - ./docker-build --name ${DISTRO} --verbose --config .build.yml --build scripts --build autotools
+
+env:
+# - DISTRO="archlinux:latest"
+ - DISTRO="debian:testing"
+# - DISTRO="fedora:latest"
+ - DISTRO="ubuntu:rolling"