--- a/bitbucket-pipelines.yml Fri Sep 15 19:51:31 2017 +0300
+++ b/bitbucket-pipelines.yml Fri Sep 15 19:53:49 2017 +0300
@@ -5,13 +5,18 @@
checks: # The name that is displayed in the list in the Bitbucket Cloud GUI
- step:
script: # Modify the commands below to build your repository.
- - python --version
+ - /usr/bin/python --version
- ./tests/tools/check_source.sh
- - /usr/bin/python ./tests/tools/test_application.py
+ - Xvfb :42 -screen 0 1280x1024x24 &
+ - DISPLAY=:42 pytest --timeout=10 ./tests/tools
+ - pkill -9 Xvfb
default:
- step:
script: # Modify the commands below to build your repository.
- - python --version
+ - /usr/bin/python --version
- ./tests/tools/check_source.sh
- - /usr/bin/python ./tests/tools/test_application.py
+ - Xvfb :42 -screen 0 1280x1024x24 &
+ - DISPLAY=:42 pytest --timeout=10 ./tests/tools
+ - pkill -9 Xvfb
+