Commit 609ac579 authored by Dalf's avatar Dalf

.travis.yml: robot tests: remove the xvfb dependency

parent fbe40001
......@@ -9,9 +9,6 @@ cache:
addons:
firefox: "latest"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- ./manage.sh install_geckodriver ~/drivers
- export PATH=~/drivers:$PATH
......
......@@ -71,7 +71,7 @@ class SearxRobotLayer():
def run_robot_tests(tests):
print('Running {0} tests'.format(len(tests)))
for test in tests:
with Browser() as browser:
with Browser('firefox', headless=True) as browser:
test(browser)
......
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