shithub: openh264

Download patch

ref: 29554efe6699da766e4e57de34771fb1e9755750
parent: b357123e7ce10816e947a8e4a07b9cff5b462c9e
author: Mathieu Duponchelle <mathieu@centricular.com>
date: Tue Apr 17 12:07:10 EDT 2018

.travis.yml: hook up meson test suite

This doesn't run the same amount of tests as the make-based
build, but it at least ensures the test suite passes with
the meson-based build.

--- a/.travis.yml
+++ b/.travis.yml
@@ -7,11 +7,17 @@
 
 before_install:
   - sudo apt-get update -qq
-  - sudo apt-get install -qq nasm g++-multilib gcc-multilib libc6-dev-i386
+  - sudo apt-get install -qq nasm g++-multilib gcc-multilib libc6-dev-i386 python3-pip unzip
+  - sudo python3 -m pip install meson==0.44.1
+  - wget https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip
+  - unzip ninja-linux.zip
+  - export PATH=$PATH:$PWD
 
 install:
   - make gmp-bootstrap
   - make gtest-bootstrap
+  - meson builddir
+  - ninja -C builddir -v
 
 before_script:
   - WorkingDir=`pwd`
@@ -36,3 +42,4 @@
   -  echo "currrent test is for ${TASK}"
   -  echo "test parameter is ${TestParameter}"
   -  ./run_Test.sh ${TASK}  ${TestParameter}
+  -  if [ ${TASK} == "UnitTest" ]; then echo "Running meson test suite"; meson test -C builddir -v; fi