forked from Baystation12/Baystation12
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (40 loc) · 936 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
language: generic
sudo: false
dist: xenial
jdk: openjdk8
env:
global:
BYOND_MAJOR="512"
BYOND_MINOR="1483"
# 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 - 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