pinafore/bin/setup-mastodon-in-travis.sh
Nolan Lawson e8d2cd9ffc
tests: quicker login, tweak test setup (#372)
* make tests faster by logging in directly

* downgrade testcafe

* Revert "downgrade testcafe"

This reverts commit 0f78f5ef63f25b6428de2faba476a353a338c695.

* try a delay

* the delay does not do anything

* disable concurrency in testcafe

* make setup script less noisy

* try transparency of 2?

* Revert "the delay does not do anything"

This reverts commit 438b3519a4e0c325e89f0c2a0eff6a7a4ae11ebd.

* try a delay of 400ms

* okay fine delay of 1s

* try concurrency of 4 again
2018-06-08 09:00:20 -07:00

22 lines
407 B
Bash
Executable file

#!/usr/bin/env bash
set -e
if [[ "$COMMAND" = deploy-dev-travis ]]; then
exit 0 # no need to setup mastodon in this case
fi
source "$HOME/.rvm/scripts/rvm"
rvm install 2.5.1
rvm use 2.5.1
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