-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
48 lines (42 loc) · 1006 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
39
40
41
42
43
44
45
46
47
48
language: generic
sudo: false
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
matrix:
include:
- 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 - Castelnau"
env: TEST=MAP MAP_PATH=castelnau
- 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