commit: d0cebd6e7787c086fce138b177d4db48eb8e1c96
parent 1012d63885e344a88e8602d28eb0ed830196e37f
Author: Alexandre Flament <alex@al-f.net>
Date: Sun, 13 Aug 2017 09:33:12 +0200
[fix] fix selenium tests
Diffstat:
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git 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
diff --git a/manage.sh b/manage.sh
@@ -22,7 +22,7 @@ check_geckodriver() {
if [ -z $NOTFOUND ]; then
return
fi
- GECKODRIVER_VERSION="v0.14.0"
+ GECKODRIVER_VERSION="v0.18.0"
PLATFORM=`python -c "import platform; print platform.system().lower(), platform.architecture()[0]"`
case $PLATFORM in
"linux 32bit" | "linux2 32bit") ARCH="linux32";;
diff --git a/requirements-dev.txt b/requirements-dev.txt
@@ -7,4 +7,4 @@ splinter==0.7.5
transifex-client==0.12.2
unittest2==1.1.0
zope.testrunner==4.5.1
-selenium==3.0.1
+selenium==3.5.0