mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -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
|
- cd built
|
||||||
|
|
||||||
script:
|
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 ..
|
- cmake -DHAVE_GTK2=NO -DBUILD_METALIBS=$BUILD_METALIBS -DCOMPOSITE_SOURCE_LIMIT=$COMPOSITE_SOURCE_LIMIT ..
|
||||||
- make -j4
|
- make -j4
|
||||||
|
|
||||||
- export PYTHONPATH=$PWD
|
- export PYTHONPATH=$PWD
|
||||||
- python ../test_imports.py
|
- python ../test_imports.py
|
||||||
- pytest ../tests
|
- pytest -v ../tests
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user