mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
travis: Hackfix for BUILD_METALIBS=OFF tests
This commit is contained in:
parent
23f46d8a84
commit
601a82dafc
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user