aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2018-12-17 13:59:34 +0000
committerTaylor Holberton <taylorcholberton@gmail.com>2018-12-17 13:59:34 +0000
commita93316d9de1f65fbe2abb25e63f98d4ce224296b (patch)
tree1e27ef29ce412a70f24e88d30cd79b7550c430b9 /scripts
parenta4ac5f5a3b09f3d646ad8e777f43810a8c5ba3da (diff)
Testing all build systems in Travis CI
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 ..