forked from ElunaLuaEngine/ElunaTrinityWotlk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (42 loc) · 1.13 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
#
# Copyright (C) 2010 - 2014 Eluna Lua Engine <http://emudevs.com/>
# This program is free software licensed under GPL version 3
# Please see the included DOCS/LICENSE.TXT for more information
#
language:
cpp
compiler:
- gcc
- clang
# Only get newest commit
git:
depth: 1
before_install:
# Install ACE
# Get ACE
- wget http://download.dre.vanderbilt.edu/previous_versions/ACE-6.0.3.tar.gz > /dev/null
# Unzip ACE to TrinityCore/
- tar xzf ACE-6.0.3.tar.gz > /dev/null
# Go to TrinityCore/ACE_wrappers
- cd ACE_wrappers/
# Create TrinityCore/ACE_wrappers/build
- mkdir build
# Go to TrinityCore/ACE_wrappers/build
- cd build
# Install ACE system wide:
- ../configure --disable-ssl > /dev/null
- make -i --jobs=4 > /dev/null
- sudo make -i --jobs=4 install > /dev/null
# Go to TrinityCore/
- cd ../../
script:
# Create TrinityCore/BUILD
- mkdir BUILD
# Create TrinityCore/SERVER
- mkdir SERVER
# Go to TrinityCore/BUILD
- cd BUILD
# Run cmake and set the BUILD directory as target for solution
- cmake ../ -DPREFIX=/SERVER -DWITH_WARNINGS=1
# Compile (with 4 cores)
- make --jobs=4