b7c97118e2
* chore: update travis to ubuntu xenial/bionic * fix apt packages * try again * fixup * fixup * fixup * fixup * fixup * simplify to test * fixup * fixup * add stuff back * add chrome * fix config * fixup * fix build script
21 lines
355 B
Bash
Executable file
21 lines
355 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
if [[ "$COMMAND" = deploy-all-travis || "$COMMAND" = test-unit ]]; then
|
|
exit 0 # no need to setup mastodon in this case
|
|
fi
|
|
|
|
# install ruby
|
|
source "$HOME/.rvm/scripts/rvm"
|
|
rvm install 2.6.1
|
|
rvm use 2.6.1
|
|
|
|
# check versions
|
|
ruby --version
|
|
node --version
|
|
yarn --version
|
|
postgres --version
|
|
redis-server --version
|
|
ffmpeg -version
|