summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2017-08-13 09:33:12 +0200
committerAlexandre Flament <alex@al-f.net>2017-08-13 12:57:08 +0200
commitd0cebd6e7787c086fce138b177d4db48eb8e1c96 (patch)
treeb66dca6876c88da8317d33d051511d07aa4f1a55 /.travis.yml
parent1012d63885e344a88e8602d28eb0ed830196e37f (diff)
downloadsearxng-d0cebd6e7787c086fce138b177d4db48eb8e1c96.tar.gz
searxng-d0cebd6e7787c086fce138b177d4db48eb8e1c96.zip
[fix] fix selenium tests
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 1eb6573f2..8ddbc7583 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,10 +14,13 @@ before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- npm install less less-plugin-clean-css grunt-cli
+ - export PATH=`pwd`/node_modules/.bin:$PATH
+ - ls -l $VIRTUAL_ENV
+ - ls -l $VIRTUAL_ENV/bin
- ( cd searx/static/themes/oscar;npm install; cd - )
- ( cd searx/static/themes/simple;npm install; cd - )
- mkdir -p ~/drivers; export PATH=~/drivers:$PATH;
- - GECKODRIVER_URL="https://github.com/mozilla/geckodriver/releases/download/v0.14.0/geckodriver-v0.14.0-linux64.tar.gz";
+ - GECKODRIVER_URL="https://github.com/mozilla/geckodriver/releases/download/v0.18.0/geckodriver-v0.18.0-linux64.tar.gz";
- FILE=`mktemp`; wget "$GECKODRIVER_URL" -qO $FILE && tar xz -C ~/drivers -f $FILE geckodriver; rm $FILE; chmod 777 ~/drivers/geckodriver;
install:
- ./manage.sh update_dev_packages