mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-25 01:22:24 +00:00
Attempts to utilize Travis' new container-based infrastructure.
http://docs.travis-ci.com/user/migrating-from-legacy/
This commit is contained in:
37
.travis.yml
37
.travis.yml
@@ -1,24 +1,31 @@
|
|||||||
#pretending we're C because otherwise ruby will initialize, even with "language: dm".
|
#pretending we're C because otherwise ruby will initialize, even with "language: dm".
|
||||||
language: c
|
language: c
|
||||||
|
sudo: false
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BYOND_MAJOR="508"
|
BYOND_MAJOR="508"
|
||||||
BYOND_MINOR="1287"
|
BYOND_MINOR="1287"
|
||||||
|
|
||||||
before_install:
|
cache:
|
||||||
- sudo apt-get update -qq
|
directories:
|
||||||
- sudo apt-get install libc6:i386 libgcc1:i386 libstdc++6:i386 -qq
|
- $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}
|
||||||
- sudo apt-get install python -qq
|
|
||||||
- sudo apt-get install python-pip -qq
|
addons:
|
||||||
- sudo pip install PyYaml -q
|
apt:
|
||||||
- sudo pip install beautifulsoup4 -q
|
packages:
|
||||||
|
- libc6-i386
|
||||||
|
- libgcc1:i386
|
||||||
|
- libstdc++6:i386
|
||||||
|
- python
|
||||||
|
- python-pip
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- curl "http://www.byond.com/download/build/${BYOND_MAJOR}/${BYOND_MAJOR}.${BYOND_MINOR}_byond_linux.zip" -o byond.zip
|
- pip install --user PyYaml -q
|
||||||
- unzip byond.zip
|
- pip install --user beautifulsoup4 -q
|
||||||
- cd byond
|
|
||||||
- sudo make install
|
before_script:
|
||||||
- cd ..
|
- chmod +x ./install-byond.sh
|
||||||
|
- ./install-byond.sh
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- shopt -s globstar
|
- shopt -s globstar
|
||||||
@@ -27,4 +34,6 @@ script:
|
|||||||
- md5sum -c - <<< "0af969f671fba6cf9696c78cd175a14a *baystation12.int"
|
- md5sum -c - <<< "0af969f671fba6cf9696c78cd175a14a *baystation12.int"
|
||||||
- md5sum -c - <<< "88490b460c26947f5ec1ab1bb9fa9f17 *html/changelogs/example.yml"
|
- md5sum -c - <<< "88490b460c26947f5ec1ab1bb9fa9f17 *html/changelogs/example.yml"
|
||||||
- python tools/GenerateChangelog/ss13_genchangelog.py html/changelog.html html/changelogs
|
- python tools/GenerateChangelog/ss13_genchangelog.py html/changelog.html html/changelogs
|
||||||
|
- source $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/byondsetup
|
||||||
- DreamMaker baystation12.dme
|
- DreamMaker baystation12.dme
|
||||||
|
|
||||||
|
|||||||
14
install-byond.sh
Normal file
14
install-byond.sh
Normal 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
|
||||||
Reference in New Issue
Block a user