travis: meson: enable unit tests
authorDylan Baker <dylan@pnwbakers.com>
Tue, 11 Dec 2018 18:34:51 +0000 (10:34 -0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 11 Dec 2018 18:34:51 +0000 (10:34 -0800)
v2: [Emil] pass the argument directly to meson

Reviewed-by: Emil Velikov <emil.velikov@collabora.com> (v1)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
.travis.yml

index 3c34942cadb469b3ad89f86de5a083e8c5eec95b..8cb7f8b95c1a99470fcfcd324145729550f2d311 100644 (file)
@@ -649,7 +649,9 @@ script:
 
       export CFLAGS="$CFLAGS -isystem`pwd`"
       meson _build $MESON_OPTIONS \
-                   --native-file=native.file
+                   --native-file=native.file \
+                   -Dbuild-tests=true
       meson configure _build
       ninja -C _build
+      ninja -C _build test
     fi