summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml3
-rw-r--r--searx/testing.py2
2 files changed, 1 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 04654ac23..e37b65864 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
diff --git a/searx/testing.py b/searx/testing.py
index 647c236fd..08a53e3f4 100644
--- a/searx/testing.py
+++ b/searx/testing.py
@@ -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)