Skip to content

Commit

Permalink
Attempt to build NanoUI in Travis
Browse files Browse the repository at this point in the history
Also, Travis has a generic option...
  • Loading branch information
neersighted committed Dec 18, 2015
1 parent 0f048d6 commit 91c0a4a
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#pretending we're C because otherwise ruby will initialize, even with "language: dm".
language: c
language: generic
sudo: false

env:
global:
- BYOND_MAJOR="508"
- BYOND_MINOR="1293"
- NODE_VERSION="4"
matrix:
- DM_MAPFILE="tgstation2"
- DM_MAPFILE="metastation"
Expand All @@ -15,10 +15,12 @@ env:
- DM_MAPFILE="birdstation"
- DM_MAPFILE="asteroidstation"


cache:
directories:
- $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}



addons:
apt:
packages:
Expand All @@ -27,12 +29,17 @@ addons:
- libstdc++6:i386
- 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 bower
- pip install --user PyYaml -q
- pip install --user beautifulsoup4 -q

before_script:
- cd nano && npm install && cd ..
- cd nano && bower install && cd ..
- chmod +x ./install-byond.sh
- ./install-byond.sh

Expand All @@ -41,6 +48,7 @@ script:
- (! grep 'step_[xy]' _maps/**/*.dmm)
- md5sum -c - <<< "49bc6b1b9ed56c83cceb6674bd97cb34 *html/changelogs/example.yml"
- tools/check_filedirs.sh tgstation.dme
- cd nano && gulp && gulp --min && 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

0 comments on commit 91c0a4a

Please sign in to comment.