2018-05-26 23:18:11 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
|
|
|
if [[ "$COMMAND" = deploy-dev-travis ]]; then
|
|
|
|
exit 0 # no need to setup mastodon in this case
|
|
|
|
fi
|
|
|
|
|
2018-05-28 15:26:17 +00:00
|
|
|
source "$HOME/.rvm/scripts/rvm"
|
|
|
|
rvm install 2.5.0
|
|
|
|
rvm use 2.5.0
|
|
|
|
|
2018-05-26 23:18:11 +00:00
|
|
|
sudo -E add-apt-repository -y ppa:mc3man/trusty-media
|
|
|
|
sudo -E apt-get update
|
|
|
|
sudo -E apt-get install -y ffmpeg
|
|
|
|
ruby --version
|
|
|
|
node --version
|
|
|
|
npm --version
|
|
|
|
postgres --version
|
|
|
|
redis-server --version
|
|
|
|
ffmpeg -version
|