-
Notifications
You must be signed in to change notification settings - Fork 31
/
.travis.yml.old
107 lines (92 loc) · 2.49 KB
/
.travis.yml.old
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
#------------------------------------------------------------------------------
# TravisCI configuration file for skaled.
#
# The documentation for skaled is hosted at http://skalelabs.org
#
# ------------------------------------------------------------------------------
# This file is part of skaled.
#
# skaled is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# skaled is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with skaled. If not, see <http://www.gnu.org/licenses/>
#
# (c) 2019 skaled contributors.
#------------------------------------------------------------------------------
language: cpp
env:
global:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
- TARGET=all
- TRAVIS_BUILD_TYPE=Debug
matrix:
include:
- os: linux
dist: bionic
sudo: required
addons:
apt:
packages:
- software-properties-common
- apt-utils
- libprocps-dev
- g++-7
- valgrind
- gawk
- sed
- libffi-dev
- ccache
- libgoogle-perftools-dev
- flex
- bison
- yasm
- texinfo
- autotools-dev
- automake
- python
- python-pip
- libtool
- build-essential
- pkg-config
- autoconf
- wget
- git
- libjsoncpp-dev
- libargtable2-dev
- libcurl4-openssl-dev
- libmicrohttpd-dev
- libhiredis-dev
- redis-server
- openssl
sources:
- ubuntu-toolchain-r-test
cache:
ccache: true
directories:
- ~/.local
- ~/.hunter
before_install:
- eval "${MATRIX_EVAL}"
install:
- cd ${TRAVIS_BUILD_DIR}
- cd ${TRAVIS_BUILD_DIR}/scripts
- sudo wget https://cmake.org/files/v3.10/cmake-3.10.3-Linux-x86_64.sh
- sudo chmod +x cmake-3.10.3-Linux-x86_64.sh
- sudo ./cmake-3.10.3-Linux-x86_64.sh --skip-license
- sudo ln -s ./cmake-3.10.3-Linux-x86_64/bin/cmake /usr/bin/cmake
- ./build_deps.sh
- python ./build.py ${TRAVIS_BUILD_TYPE} ${TRAVIS_BUILD_DIR}
script:
- cd ${TRAVIS_BUILD_DIR}/scripts
- ./tests.py ${TRAVIS_BUILD_DIR}
after_success:
- pip install --user codecov
- codecov