Attempts to utilize Travis' new container-based infrastructure.

http://docs.travis-ci.com/user/migrating-from-legacy/
This commit is contained in:
PsiOmegaDelta
2015-07-10 14:05:09 +02:00
parent 6246d3bd9d
commit 312859dbfe
2 changed files with 37 additions and 14 deletions

14
install-byond.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
set -e
if [ -d "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin" ];
then
echo "Using cached directory."
else
echo "Setting up BYOND."
mkdir -p "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}"
cd "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}"
curl "http://www.byond.com/download/build/${BYOND_MAJOR}/${BYOND_MAJOR}.${BYOND_MINOR}_byond_linux.zip" -o byond.zip
unzip byond.zip
cd byond
make here
fi