aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml100
1 files changed, 100 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..4d8e9c9
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,100 @@
+# Use new bionic images, should yield newer compilers and packages
+language: cpp
+os: linux
+dist: bionic
+
+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"
+ 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: "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"
+ 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"
+
+before_install:
+ - eval "${MATRIX_EVAL}"