mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-09 16:09:15 +00:00
Adds a simple file to create a work tree with only what's needed to RUN the game. .dmb/.rsc, _maps, strings, and some icons and sounds. Makes the Dockerfile use it. Also adds dependencies.sh which can serve as a single version source used by all CI and utils. Enables appveyor and artifacts, you can now download a .dmb deployment straight from a PR or master commit.
67 lines
1.8 KiB
YAML
67 lines
1.8 KiB
YAML
language: generic
|
|
sudo: false
|
|
branches:
|
|
except:
|
|
- ___TGS3TempBranch
|
|
matrix:
|
|
include:
|
|
- env:
|
|
- BUILD_TOOLS=true
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- python3
|
|
- python3-pip
|
|
cache:
|
|
directories:
|
|
- tgui/node_modules
|
|
- env:
|
|
- BUILD_TESTING=true
|
|
- BUILD_TOOLS=false
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libstdc++6:i386
|
|
cache:
|
|
directories:
|
|
- $HOME/BYOND
|
|
- env:
|
|
- BUILD_TESTING=false
|
|
- BUILD_TOOLS=false
|
|
addons:
|
|
mariadb: '10.2'
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- libstdc++6:i386
|
|
- libssl-dev:i386
|
|
- gcc-multilib
|
|
- g++-7
|
|
- g++-7-multilib
|
|
- libmariadbclient-dev:i386
|
|
cache:
|
|
directories:
|
|
- $HOME/.cargo
|
|
- $HOME/BYOND
|
|
- $HOME/MariaDB
|
|
- $HOME/.rustup
|
|
|
|
install:
|
|
- tools/travis/install_build_tools.sh
|
|
- if [ $BUILD_TOOLS = false ] && [ $BUILD_TESTING = false ]; then mysql -u root -e 'CREATE DATABASE tg_travis;'; fi
|
|
- if [ $BUILD_TOOLS = false ] && [ $BUILD_TESTING = false ]; then mysql -u root tg_travis < SQL/tgstation_schema.sql; fi
|
|
- if [ $BUILD_TOOLS = false ] && [ $BUILD_TESTING = false ]; then mysql -u root -e 'CREATE DATABASE tg_travis_prefixed;'; fi
|
|
- if [ $BUILD_TOOLS = false ] && [ $BUILD_TESTING = false ]; then mysql -u root tg_travis_prefixed < SQL/tgstation_schema_prefixed.sql; fi
|
|
|
|
before_script:
|
|
- tools/travis/before_build_tools.sh
|
|
- tools/travis/before_build_byond.sh
|
|
|
|
script:
|
|
- tools/travis/check_filedirs.sh tgstation.dme
|
|
- tools/travis/build_tools.sh || travis_terminate 1
|
|
- tools/travis/build_dependencies.sh || travis_terminate 1
|
|
- tools/travis/build_byond.sh
|
|
|