From fba31efff00082634602f2748a51a76b3f14b79c Mon Sep 17 00:00:00 2001 From: Alexis Engelke Date: Sun, 5 May 2019 13:10:20 +0200 Subject: [PATCH] Add Travis CI file --- .travis.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..cfe6c33 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,23 @@ +language: cpp +dist: xenial + +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - python3-pip + - python3-setuptools + - ninja-build + - gcc-7 + +install: + # The meson included in the Xenial repositories is too old (0.29). + - pip3 install meson + - export CC=gcc-7 + +script: + - mkdir build + - meson build + - ninja -v -C build + - meson test -v -C build