forked from HariSekhon/Nagios-Plugin-Kafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
46 lines (41 loc) · 1.62 KB
/
.appveyor.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
#
# Author: Hari Sekhon
# Date: 2020-02-24 16:19:35 +0000 (Mon, 24 Feb 2020)
#
# vim:ts=4:sts=4:sw=4:et
#
# https://github.com/harisekhon/nagios-plugin-kafka
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
#
# https://www.linkedin.com/in/harisekhon
#
# https://www.appveyor.com/docs/appveyor-yml/
image: Ubuntu
install:
# workaround for:
# Some packages could not be installed. This may mean that you have
# requested an impossible situation or if you are using the unstable
# distribution that some required packages have not yet been created
# or been moved out of Incoming.
# The following information may help to resolve the situation:
#
# The following packages have unmet dependencies:
# mssql-server : Depends: libsasl2-modules-gssapi-mit but it is not going to be installed
# E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
# nagios-plugin-kafka/Makefile.in:272: recipe for target 'apt-packages' failed
# make[2]: *** [apt-packages] Error 123
# make[2]: Leaving directory '/home/appveyor/projects/pylib'
# nagios-plugin-kafka/Makefile.in:212: recipe for target 'system-packages' failed
#
# adding "|| :" to the end of these commands causes them to be silently ignored!
- sudo sed -i '/https:\/\/packages.microsoft.com\/ubuntu\/.*\/mssql-server/d' /etc/apt/sources.list
- sudo apt purge -qy --allow-change-held-packages mssql-server
- sudo apt update -qq
- sudo apt install -qy git make
- make
test_script:
- make test
build: off