|
@@ -14,10 +14,13 @@ before_install:
|
14
|
14
|
- "export DISPLAY=:99.0"
|
15
|
15
|
- "sh -e /etc/init.d/xvfb start"
|
16
|
16
|
- npm install less less-plugin-clean-css grunt-cli
|
|
17
|
+ - export PATH=`pwd`/node_modules/.bin:$PATH
|
|
18
|
+ - ls -l $VIRTUAL_ENV
|
|
19
|
+ - ls -l $VIRTUAL_ENV/bin
|
17
|
20
|
- ( cd searx/static/themes/oscar;npm install; cd - )
|
18
|
21
|
- ( cd searx/static/themes/simple;npm install; cd - )
|
19
|
22
|
- mkdir -p ~/drivers; export PATH=~/drivers:$PATH;
|
20
|
|
- - GECKODRIVER_URL="https://github.com/mozilla/geckodriver/releases/download/v0.14.0/geckodriver-v0.14.0-linux64.tar.gz";
|
|
23
|
+ - GECKODRIVER_URL="https://github.com/mozilla/geckodriver/releases/download/v0.18.0/geckodriver-v0.18.0-linux64.tar.gz";
|
21
|
24
|
- FILE=`mktemp`; wget "$GECKODRIVER_URL" -qO $FILE && tar xz -C ~/drivers -f $FILE geckodriver; rm $FILE; chmod 777 ~/drivers/geckodriver;
|
22
|
25
|
install:
|
23
|
26
|
- ./manage.sh update_dev_packages
|