mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 08:01:06 +00:00
Sets up Travis to install and run Flyway and our migrations on a MariaDB database in order to test them. If a migration is erroneous, this should catch it.
16 lines
478 B
Bash
16 lines
478 B
Bash
#!/bin/sh
|
|
set -e
|
|
if [ -f "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/DreamMaker" ];
|
|
then
|
|
echo "Using cached BYOND directory."
|
|
else
|
|
echo "Setting up BYOND."
|
|
mkdir -p "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}"
|
|
cd "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}"
|
|
echo "Installing DreamMaker to $PWD"
|
|
curl "http://www.byond.com/download/build/${BYOND_MAJOR}/${BYOND_MAJOR}.${BYOND_MINOR}_byond_linux.zip" -o byond.zip
|
|
unzip -o byond.zip
|
|
cd byond
|
|
make here
|
|
fi
|