This commit is contained in:
kevinz000
2016-06-04 02:42:24 -07:00
parent 8b79a21698
commit b7034fe3f7
2 changed files with 10 additions and 36 deletions

View File

@@ -6,7 +6,10 @@ env:
- BYOND_MAJOR="510"
- BYOND_MINOR="1332"
- NODE_VERSION="4"
- BUILD_TOOLS=false
- DM_MAPFILE=""
matrix:
- BUILD_TOOLS=true
- DM_MAPFILE="tgstation2"
- DM_MAPFILE="metastation"
- DM_MAPFILE="ministation"
@@ -30,24 +33,14 @@ addons:
- python
- python-pip
install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $NODE_VERSION
- npm install -g gulp-cli
- pip install --user PyYaml -q
- pip install --user beautifulsoup4 -q
- tools/travis/install_build_tools.sh
before_script:
- cd tgui && npm install && cd ..
- chmod +x ./install-byond.sh
- ./install-byond.sh
- shopt -s globstar
- tools/travis/before_build_tools.sh
- tools/travis/before_build_byond.sh
script:
- (! grep 'step_[xy]' _maps/**/*.dmm)
- md5sum -c - <<< "49bc6b1b9ed56c83cceb6674bd97cb34 *html/changelogs/example.yml"
- tools/check_filedirs.sh tgstation.dme
- cd tgui && gulp && cd ..
- python tools/ss13_genchangelog.py html/changelog.html html/changelogs
- source $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/byondsetup
- bash dm.sh -M${DM_MAPFILE} tgstation.dme
- tools/travis/check_filedirs.sh tgstation.dme
- tools/travis/build_tools.sh
- tools/travis/build_byond.sh