forked from vgstation-coders/vgstation13
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (46 loc) · 1.38 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#pretending we're C because otherwise ruby/rvm will initialize, even with "language: dm".
language: c
sudo: false
env:
global:
- BYOND_MAJOR="510"
- BYOND_MINOR="1345"
matrix:
- DM_MAPFILE="tgstation"
- DM_MAPFILE="metaclub"
- DM_MAPFILE="defficiency"
- DM_MAPFILE="taxistation"
- DM_MAPFILE="test_box"
- DM_MAPFILE="test_tiny"
cache:
directories:
- $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}
- $HOME/.cache/pip
addons:
apt:
packages:
- libc6-i386
- libgcc1:i386
- libstdc++6:i386
install:
- pip install --user PyYaml -q --download-cache $HOME/.pip-cache
- pip install --user beautifulsoup4 -q --download-cache $HOME/.pip-cache
before_script:
- chmod +x ./dm.sh
- chmod +x ./install-byond.sh
- ./install-byond.sh
script:
- cat maps/*.dmm | awk '/step_x =/ { exit 1 }'
- cat maps/*.dmm | awk '/step_y =/ { exit 1 }'
- cat maps/*.dmm | awk '/layer =/ { exit 1 }'
- python tools/ss13_genchangelog.py html/changelog.html html/changelogs --dry-run
- source $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/byondsetup
- ./dm.sh -M${DM_MAPFILE} vgstation13.dme
notifications:
irc:
channels:
- "irc.rizon.net#vgstation"
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
- "Change view : %{compare_url}"
- "Build details : %{build_url}"