[PATCH RESEND 2/3] .travis.yml: Build with ncurses on OSX

Philippe Mathieu-Daudé posted 3 patches 5 years, 8 months ago
Maintainers: "Philippe Mathieu-Daudé" <philmd@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Fam Zheng <fam@euphon.net>
[PATCH RESEND 2/3] .travis.yml: Build with ncurses on OSX
Posted by Philippe Mathieu-Daudé 5 years, 8 months ago
Install the ncurses to extend coverage:

    $ ./configure
    [...]
    iconv support     yes
    curses support    yes
    curl support      yes

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 .travis.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 08ef2c011c..a2a7fd0dd1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -271,7 +271,7 @@ matrix:
 
     - name: "OSX Xcode 10.3"
       env:
-        - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu"
+        - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu --extra-cflags=-I/usr/local/opt/ncurses/include --extra-ldflags=-L/usr/local/opt/ncurses/lib"
       os: osx
       osx_image: xcode10.3
       compiler: clang
@@ -288,6 +288,7 @@ matrix:
             - gettext
             - glib
             - gnu-sed
+            - ncurses
             - pixman
             - python
             - snappy
-- 
2.21.1