Skip to content
Permalink
Browse files

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

  • Loading branch information...
dalf committed Jul 12, 2019
1 parent fbe4000 commit 609ac5795ab16ab8a80a89feb54a9e23d4dec725
Showing with 1 addition and 4 deletions.
  1. +0 −3 .travis.yml
  2. +1 −1 searx/testing.py
@@ -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 @@ def tearDown(self):
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)


0 comments on commit 609ac57

Please sign in to comment.
You can’t perform that action at this time.