-
Notifications
You must be signed in to change notification settings - Fork 89
/
.travis.yml
52 lines (42 loc) · 1.18 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
language: c
sudo: false
notifications:
webhooks:
urls:
on_success: always # 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="513"
- BYOND_MINOR="1502"
- DM_BUILDFILE="polaris.dme"
cache:
directories:
- $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}
addons:
apt:
packages:
- libc6-i386
- libgcc1:i386
- libstdc++6:i386
before_install:
- chmod +x tools/travis/install_spaceman_dmm.sh
install:
- tools/travis/install_spaceman_dmm.sh dreamchecker
before_script:
- chmod +x tools/travis/check_filedirs.sh
- chmod +x ./install-byond.sh
- ./install-byond.sh
after_success:
- chmod +x ./send-to-discord.sh
- ./send-to-discord.sh success $WEBHOOK_URL
after_failure:
- chmod +x ./send-to-discord.sh
- ./send-to-discord.sh failure $WEBHOOK_URL
script:
- tools/travis/check_filedirs.sh ${DM_BUILDFILE}
- (! grep 'step_[xy]' maps/**/*.dmm)
- ~/dreamchecker
- source $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/byondsetup
- DreamMaker ${DM_BUILDFILE}