aboutsummaryrefslogtreecommitdiff
path: root/scripts/travis-build.sh
blob: 2bfc4d213aa6ac3304e4e6ce1becf6a878c86eb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

set -e
set -u

ROOT=$(pwd)

make
make clean

mkdir cmake-build
cd cmake-build
cmake ..
cmake --build .
cd ..

$HOME/.local/bin/meson . meson-build
cd meson-build
ninja
cd ..

${ROOT}/scripts/version.sh check