-
Notifications
You must be signed in to change notification settings - Fork 19
/
.travis.yml
38 lines (32 loc) · 1023 Bytes
/
.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
language: generic
sudo: false
notifications:
webhooks:
urls:
- https://discordapp.com/api/webhooks/302202614437904385/9lbEb4WO1LzNHXiRlY8y79INDf_XvmyvE79_y9oBk-iIvJ7GHmLMruIsPlw6QWyHEp5m
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
env:
global:
- BYOND_MAJOR="512"
- BYOND_MINOR="1488"
- DM_BUILDFILE="baystation12.dme"
cache:
directories:
- $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}
addons:
apt:
packages:
- libc6-i386
- libgcc1:i386
- libstdc++6:i386
before_script:
- chmod +x ./install-byond.sh
- ./install-byond.sh
script:
- (! grep 'step_[xy]' maps/*.dmm)
- (! grep -E "(/obj/machinery/door/firedoor).*\1" maps/*.dmm)
- source $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/byondsetup
# - bash dm.sh -M${DM_MAPFILE} ${DM_BUILDFILE}
- bash dm.sh ${DM_BUILDFILE}