aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml6
-rwxr-xr-xscripts/travis-build.sh18
2 files changed, 21 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 0e0533d..7c43bf1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,10 +8,10 @@ addons:
packages:
- doxygen
- graphviz
+ - python3-pip
before_script:
- - mkdir $HOME/install
+ - pip3 install --user meson
script:
- - make
- - make PREFIX=$HOME/install install
+ - scripts/travis-build.sh
diff --git a/scripts/travis-build.sh b/scripts/travis-build.sh
new file mode 100755
index 0000000..9639d88
--- /dev/null
+++ b/scripts/travis-build.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+set -u
+
+make
+make clean
+
+mkdir cmake-build
+cd cmake-build
+cmake ..
+cmake --build .
+cd ..
+
+$HOME/.local/bin/meson . meson-build
+cd meson-build
+ninja
+cd ..