forked from Baystation12/Baystation12
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (48 loc) · 1.16 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
54
language: generic
os: linux
dist: xenial
jdk: openjdk8
env:
global:
BYOND_MAJOR="512"
BYOND_MINOR="1485"
# ALL MAPS MUST BE PRESENT HERE
# IF THEY ARE NOT, YOUR BUILD WILL FAIL
jobs:
include:
- name: "DreamChecker"
env: SPACEMAN_DMM_VERSION=suite-1.4
cache:
directories: $HOME/spaceman_dmm/$SPACEMAN_DMM_VERSION
install:
- ./scripts/install-spaceman-dmm.sh dreamchecker
script:
- ~/dreamchecker
- name: "Code"
env: TEST=CODE
- name: "Map - Example"
env: TEST=MAP MAP_PATH=example
- name: "Map - Torch"
env: TEST=MAP MAP_PATH=torch
- name: "Map - Bearcat"
env: TEST=MAP MAP_PATH=bearcat
- name: "Map - Away Sites"
env: TEST=MAP MAP_PATH=away_sites_testing
cache:
directories:
- $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}
addons:
apt:
packages:
- libc6-i386
- libgcc1:i386
- libstdc++6:i386
- python
- python-pip
- uchardet
script:
- test/run-test.sh
after_failure:
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh failure $WEBHOOK_URL