-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy path.travis.yml
41 lines (37 loc) · 901 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
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
# Unzip ACE to TrinityCore/
- tar xzf ACE-6.0.3.tar.gz
# 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
- make -s --jobs=4
- sudo make -s --jobs=4 install
# 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