[Qemu-devel] [PATCH 3/3] .travis.yml: Test installing Sphinx documentation in out-of-tree build

Philippe Mathieu-Daudé posted 3 patches 6 years, 8 months ago
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@redhat.com>, Fam Zheng <fam@euphon.net>
[Qemu-devel] [PATCH 3/3] .travis.yml: Test installing Sphinx documentation in out-of-tree build
Posted by Philippe Mathieu-Daudé 6 years, 8 months ago
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 .travis.yml | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index df6700d93a..2c6b6c05b0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -126,10 +126,19 @@ matrix:
             - texinfo
             - perl
 
-    # Test out-of-tree builds
+
+    # Test out-of-tree builds (and install)
     - env:
-        - CONFIG="--enable-debug --enable-debug-tcg --target-list=microblaze-softmmu,xtensa-softmmu,cris-linux-user,hppa-linux-user"
+        - BASE_CONFIG="--enable-docs --disable-tools"
+        - CONFIG="--prefix=$PWD/prefix --enable-debug --enable-debug-tcg --target-list=microblaze-softmmu,xtensa-softmmu,cris-linux-user,hppa-linux-user"
         - BUILD_DIR="out-of-tree/build/dir" SRC_DIR="../../.."
+        - TEST_CMD="make check install -j3"
+      addons:
+        apt:
+          packages:
+            - python-sphinx
+            - texinfo
+            - perl
 
 
     # Test with Clang for compile portability (Travis uses clang-5.0)
-- 
2.20.1