Commit 4f8c06b2 authored by Mark Hymers's avatar Mark Hymers

Run tests with TRAVIS set

Signed-off-by: Mark Hymers's avatarMark Hymers <mark.hymers@ynic.york.ac.uk>
parent 33088922
......@@ -9,6 +9,8 @@ EXCLUDED_TESTS := not test_iohub
EXCLUDED_TESTS += and not test_microphone
EXCLUDED_TESTS += and not test_Exp_LoadCompilePsyexp
export TRAVIS=true
export PYBUILD_NAME=psychopy
export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS=>/dev/null 2>&1; cd {build_dir}; xvfb-run $(XVFB_OPTS) python{version} -m pytest -v -k "$(EXCLUDED_TESTS)"
......@@ -20,12 +22,6 @@ override_dh_auto_build:
dh_auto_build
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/source build/html
override_dh_auto_test:
# Don't run test suite during build as xvfb doesn't support
# XF86VidModeGetGammaRampSize so we can't even get started
# The commands above are left in as reference for maintainers
override_dh_auto_clean:
dh_auto_clean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment