aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis-build.sh18
1 files changed, 18 insertions, 0 deletions
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 ..