Browse Source

[fix] add missing gecko executable to travis

Adam Tauber 8 years ago
parent
commit
ecd2e1fac0
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      .travis.yml

+ 3
- 0
.travis.yml View File

@@ -12,6 +12,9 @@ before_install:
12 12
   - "sh -e /etc/init.d/xvfb start"
13 13
   - npm install less grunt-cli
14 14
   - ( cd searx/static/themes/oscar;npm install; cd - )
15
+  - mkdir -p ~/drivers; export PATH=~/drivers:$PATH;
16
+  - GECKODRIVER_URL="https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.11.1-linux64.tar.gz";
17
+  - FILE=`mktemp`; wget "$GECKODRIVER_URL" -qO $FILE && tar xz -C ~/drivers -f $FILE geckodriver; rm $FILE; chmod 777 ~/drivers/geckodriver;
15 18
 install:
16 19
   - ./manage.sh update_dev_packages
17 20
   - pip install coveralls