forked from AntimoniumGame/Antimonium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (29 loc) · 778 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
language: generic
sudo: false
env:
global:
BYOND_MAJOR="511"
BYOND_MINOR="1381"
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)
- source $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/byondsetup
- sed -i '1s/^/#define TRAVIS_TEST\n\n/' code/world.dm
- DreamMaker antimonium.dme > log.txt
- cat log.txt
- (grep "0 errors, 0 warnings" log.txt)
- DreamDaemon antimonium.dmb -invisible -trusted -core 2>&1 | tee log.txt
- (! grep "runtime error:" log.txt)
- (! grep "WARNING:" log.txt)
- (! grep "ERROR:" log.txt)