-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
77 lines (52 loc) · 2.02 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
################################################################################
# SOL LIBRARY v1.0.0+41
#
# File: sol/.travis.yml
#
# Description:
# This YAML file is part of the Sol Library. It defines the Travis-CI
# build matrix.
#
# Authors:
# Abhishek Chakravarti <[email protected]>
#
# Copyright:
# (c) 2019, Abhishek Chakravarti.
#
# License:
# Released under the GNU General Public License version 3 (GPLv3)
# <http://opensource.org/licenses/GPL-3.0>. See the accompanying LICENSE
# file for complete licensing details.
#
# BY CONTINUING TO USE AND/OR DISTRIBUTE THIS FILE, YOU ACKNOWLEDGE THAT
# YOU HAVE UNDERSTOOD THESE LICENSE TERMS AND ACCEPT THEM.
################################################################################
# Set programming language
language: c
# Set compilers; we're using only GCC for the time being
compiler:
- gcc
# Update GCC and GCov to version 8; this is needed for gcov to work
# properly; refer to the following site:
# https://gist.github.com/application2000/73fd6f4bf1be6600a2cf9f56315a2d91
before_install:
- sudo apt-get update
- sudo apt-get install build-essential software-properties-common -y
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install gcc-snapshot -y
- sudo apt-get update
- sudo apt-get install gcc-8 -y
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60 --slave /usr/bin/gcov gcov /usr/bin/gcov-8
# Build target
script:
- make integration
- cat bld/test.log
# Generate coverage statistics for CodeCov
after_success:
- bash <(curl -s https://codecov.io/bash)
################################################################################
# EOF
# Built on hyperion [Tue Jan 29 02:37:24 UTC 2019]
################################################################################