From 40aa65249b788ac94cb0ea8326e9bd6a57a6ba15 Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Wed, 1 Nov 2017 14:34:55 -0700 Subject: [PATCH] tests: Add tests to .travis.yml --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 36e4749240..582c7fd62f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,9 +34,16 @@ addons: - nvidia-cg-toolkit - python-dev - python3-dev + - python-virtualenv - zlib1g-dev - 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: irc: channels: