forked from ProjectSkyfire/SkyFire_548
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (43 loc) · 1.45 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
#
# This file is part of Project SkyFire https://www.projectskyfire.org.
# See LICENSE.md file for Copyright information
#
os: linux
dist: focal
group: travis_latest
language: cpp
sudo: required
matrix:
include:
- name: "Ubuntu 21.04 (Hirsute Hippo) with GCC"
env: DOCKER="ubuntu:hirsute" VARIANT="ubuntu" TOOL="compile" COMPILER_C="gcc" COMPILER_CXX="g++"
- name: "Ubuntu 20.04 (Focal Fossa) with GCC"
env: DOCKER="ubuntu:focal" VARIANT="ubuntu" TOOL="compile" COMPILER_C="gcc" COMPILER_CXX="g++"
- name: "Ubuntu 20.10 (Groovy Gorilla) with GCC"
env: DOCKER="ubuntu:groovy" VARIANT="ubuntu" TOOL="compile" COMPILER_C="gcc" COMPILER_CXX="g++"
git:
depth: 1
branches:
only:
- main
- trunk
before_install:
- sudo rm -rf /var/lib/dpkg/lock
- sudo wget https://dev.mysql.com/get/mysql-apt-config_0.8.17-1_all.deb
- sudo dpkg -i mysql-apt-config_0.8.17-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=${COMPILER_CXX}
- export CC=${COMPILER_C}
- ${COMPILER_CXX} --version
- ${COMPILER_C} --version
before_script:
- mkdir build
- cd build
- cmake ../ -DSCRIPTS=1 -DTOOLS=0 -DCMAKE_BUILD_TYPE=Release
script:
- make -j2