diff mbox series

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

Message ID 20190308162906.10491-4-philmd@redhat.com
State New
Headers show
Series travis-ci: Test installing Sphinx documentation | expand

Commit Message

Philippe Mathieu-Daudé March 8, 2019, 4:29 p.m. UTC
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 .travis.yml | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
diff mbox series

Patch

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)