travis: Hackfix for BUILD_METALIBS=OFF tests

This commit is contained in:
Sam Edwards 2018-09-03 16:35:21 -06:00
parent 23f46d8a84
commit 601a82dafc

View File

@ -58,12 +58,16 @@ before_script:
- cd built
script:
# This is kind of a hack, but needed to test non-metalib builds (until
# interrogate has a way of explicitly calling init_libpanda)
- '[ "x$BUILD_METALIBS" == "xON" ] || export LDFLAGS=-Wl,--no-as-needed'
- cmake -DHAVE_GTK2=NO -DBUILD_METALIBS=$BUILD_METALIBS -DCOMPOSITE_SOURCE_LIMIT=$COMPOSITE_SOURCE_LIMIT ..
- make -j4
- export PYTHONPATH=$PWD
- python ../test_imports.py
- pytest ../tests
- pytest -v ../tests
notifications:
irc: