humhub/.travis/install-dependencies.sh
Daniel Kesselberg 13328a48a4 👷 Drop conditional case for v1.2.
This is only required for module tests when tested
against different humhub versions but not for core.
2018-08-09 10:27:21 +02:00

14 lines
453 B
Bash
Executable File

#!/usr/bin/env sh
# -e = exit when one command returns != 0, -v print each command before executing
set -ev
# Install chomedriver
curl -s -L -o chromedriver_linux64.zip https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip \
&& unzip -o -d $HOME chromedriver_linux64.zip \
&& chmod +x $HOME/chromedriver
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
npm install -g npm@latest