mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-06-08 07:03:06 -04:00
need $DISPLAY set for test_brozzling.py
This commit is contained in:
parent
f7427219cf
commit
c90c73372e
3 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ install:
|
||||||
- ansible-playbook --extra-vars="brozzler_pip_name=file://$TRAVIS_BUILD_DIR#egg=brozzler user=travis" --inventory-file=ansible/hosts-localhost ansible/playbook.yml
|
- ansible-playbook --extra-vars="brozzler_pip_name=file://$TRAVIS_BUILD_DIR#egg=brozzler user=travis" --inventory-file=ansible/hosts-localhost ansible/playbook.yml
|
||||||
- pip install $TRAVIS_BUILD_DIR pytest
|
- pip install $TRAVIS_BUILD_DIR pytest
|
||||||
script:
|
script:
|
||||||
- py.test -v -s tests
|
- DISPLAY=:1 py.test -v -s tests
|
||||||
after_failure:
|
after_failure:
|
||||||
- sudo cat /var/log/upstart/warcprox.log
|
- sudo cat /var/log/upstart/warcprox.log
|
||||||
- sudo cat /var/log/upstart/brozzler-worker.log
|
- sudo cat /var/log/upstart/brozzler-worker.log
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -32,7 +32,7 @@ def find_package_data(package):
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='brozzler',
|
name='brozzler',
|
||||||
version='1.1b9.dev153',
|
version='1.1b9.dev154',
|
||||||
description='Distributed web crawling with browsers',
|
description='Distributed web crawling with browsers',
|
||||||
url='https://github.com/internetarchive/brozzler',
|
url='https://github.com/internetarchive/brozzler',
|
||||||
author='Noah Levitt',
|
author='Noah Levitt',
|
||||||
|
|
|
@ -16,4 +16,4 @@ vagrant ssh -- 'status warcprox ;
|
||||||
echo
|
echo
|
||||||
|
|
||||||
vagrant ssh -- 'source /opt/brozzler-ve34/bin/activate && pip install pytest'
|
vagrant ssh -- 'source /opt/brozzler-ve34/bin/activate && pip install pytest'
|
||||||
vagrant ssh -- "source /opt/brozzler-ve34/bin/activate && py.test -v -s /brozzler/tests $@"
|
vagrant ssh -- "source /opt/brozzler-ve34/bin/activate && DISPLAY=:1 py.test -v -s /brozzler/tests $@"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue