forked from OpenRA/ra2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (40 loc) · 1.33 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
language: csharp
mono: 4.2.1
sudo: false
cache:
directories:
- ~/.openra/Content
addons:
apt:
packages:
- liblua5.1-0
- p7zip-full
script:
- cd ../..
- mkdir -p ~/.openra/mods
- mv OpenRA/ra2 ~/.openra/mods/ra2
- git clone https://github.com/OpenRA/OpenRA.git
- cd OpenRA
- travis_retry make dependencies
- make all
- ln -sf ~/build/OpenRA/OpenRA.Game.exe ~/.openra/mods/ra2/OpenRA.Mods.RA2/dependencies
- ln -sf ~/build/OpenRA/mods/common/OpenRA.Mods.Common.dll ~/.openra/mods/ra2/OpenRA.Mods.RA2/dependencies
- ln -sf ~/build/OpenRA/mods/ra/OpenRA.Mods.RA.dll ~/.openra/mods/ra2/OpenRA.Mods.RA2/dependencies
- ln -sf ~/build/OpenRA/mods/ts/OpenRA.Mods.TS.dll ~/.openra/mods/ra2/OpenRA.Mods.RA2/dependencies
- ln -sf ~/build/OpenRA/thirdparty/download/Eluant.dll ~/.openra/mods/ra2/OpenRA.Mods.RA2/dependencies
- pushd ~/.openra/mods/ra2/OpenRA.Mods.RA2 && xbuild && popd
- travis_retry ~/.openra/mods/ra2/fetch-content.sh
- mono --debug OpenRA.Utility.exe ra2 --check-yaml
- mono --debug OpenRA.Utility.exe ra2 --check-sequence-sprites
branches:
only:
- master
# Notify developers when build passed/failed.
notifications:
irc:
template:
- "%{repository}#%{build_number} %{commit} %{author}: %{message} %{build_url}"
channels:
- "irc.freenode.net#openra"
use_notice: true
skip_join: true