-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
105 lines (95 loc) · 2.82 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Copyright (C) 2011-2020 Project SkyFire <http://www.projectskyfire.org/
# Copyright (C) 2008-2020 TrinityCore <http://www.trinitycore.org/>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
os: linux
matrix:
include:
- compiler: clang
dist: focal
env: CXXCOMPILER=clang++-10 CCOMPILER=clang-10
addons:
apt:
sources:
- sourceline: 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-10 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- clang-10
- libc++-10-dev
- libc++abi-10-dev
- lldb-10
- lld-10
- compiler: clang
dist: bionic
env: CXXCOMPILER=clang++-10 CCOMPILER=clang-10
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- clang-10
- libc++-10-dev
- libc++abi-10-dev
- lldb-10
- lld-10
- compiler: gcc
dist: focal
env: CXXCOMPILER=g++-9 CCOMPILER=gcc-9
addons:
apt:
sources:
packages:
- gcc-9
- g++-9
- compiler: gcc
dist: bionic
env: CXXCOMPILER=g++-9 CCOMPILER=gcc-9
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-9
- g++-9
language: cpp
sudo: required
group: stable
git:
depth: 1
branches:
only:
- master
before_install:
- sudo rm -rf /var/lib/dpkg/lock
- sudo wget https://dev.mysql.com/get/mysql-apt-config_0.8.14-1_all.deb
- sudo dpkg -i mysql-apt-config_0.8.14-1_all.deb
- sudo apt update
- sudo apt-get update
- sudo apt-get install libncurses5-dev libace-dev
- sudo apt-get install build-essential autoconf libtool make cmake git-core patch wget links zip unzip unrar
- sudo apt-get install openssl libssl-dev libmysqlclient-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev
install:
- export CXX=${CXXCOMPILER}
- export CC=${CCOMPILER}
- ${CXX} --version
- ${CCOMPILER} --version
before_script:
- mkdir build
- cd build
- cmake ../ -DSCRIPTS=1 -DTOOLS=0 -DCMAKE_BUILD_TYPE=Release
script:
- make -j2
notifications:
irc:
channels:
- "irc.rizon.net#project_skyfire"
on_success: always
on_failure: always