mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
tests: Add tests to .travis.yml
This commit is contained in:
parent
aabf009ff0
commit
40aa65249b
@ -34,9 +34,16 @@ addons:
|
|||||||
- nvidia-cg-toolkit
|
- nvidia-cg-toolkit
|
||||||
- python-dev
|
- python-dev
|
||||||
- python3-dev
|
- python3-dev
|
||||||
|
- python-virtualenv
|
||||||
- zlib1g-dev
|
- zlib1g-dev
|
||||||
- fakeroot
|
- fakeroot
|
||||||
script: $PYTHONV makepanda/makepanda.py --everything --git-commit $TRAVIS_COMMIT $FLAGS --threads 4 && LD_LIBRARY_PATH=built/lib PYTHONPATH=built $PYTHONV makepanda/test_imports.py
|
install:
|
||||||
|
- virtualenv --python=$PYTHONV venv && source venv/bin/activate
|
||||||
|
- $PYTHONV -m pip install pytest
|
||||||
|
script:
|
||||||
|
- $PYTHONV makepanda/makepanda.py --everything --git-commit $TRAVIS_COMMIT $FLAGS --threads 4
|
||||||
|
- LD_LIBRARY_PATH=built/lib PYTHONPATH=built $PYTHONV makepanda/test_imports.py
|
||||||
|
- LD_LIBRARY_PATH=built/lib PYTHONPATH=built $PYTHONV -m pytest tests
|
||||||
notifications:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
channels:
|
channels:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user