forked from munin-monitoring/munin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
86 lines (82 loc) · 2.1 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
---
language: perl
### perl:
### - "5.20"
branches:
only:
- stable-2.0
- master
addons:
hosts:
- testing.acme.com
apt:
packages:
- codespell
- devscripts
- libpango1.0-dev
- libdbd-pg-perl
- libdbd-sqlite3-perl
- libdbi-perl
- libdevel-cover-perl
- libfile-copy-recursive-perl
- libfile-readbackwards-perl
- libfile-slurp-perl
- libhtml-template-perl
- libhtml-template-pro-perl
- libhttp-server-simple-perl
- libio-socket-inet6-perl
- libio-stringy-perl
- liblist-moreutils-perl
- liblog-dispatch-perl
- liblog-log4perl-perl
- libmodule-build-perl
- libnet-dns-perl
- libnet-ip-perl
- libnet-server-perl
- libnet-snmp-perl
- libnet-ssleay-perl
- libparams-validate-perl
- librrds-perl
- libtest-class-perl
- libtest-deep-perl
- libtest-differences-perl
- libtest-longstring-perl
- libtest-mockmodule-perl
- libtest-mockobject-perl
- libtest-perl-critic-perl
- liburi-perl
- libwww-perl
- libxml-dumper-perl
- libxml-libxml-perl
- libxml-parser-perl
- python3-flake8
- shellcheck
notifications:
email: false
irc:
on_success: change # no need for spam
on_failure: always
channels:
- "irc.oftc.net#munin"
template:
- "%{repository} (%{branch} - %{commit} : %{author}): %{message}"
- "Build details: %{build_url}"
matrix:
# we don't need to continue any build when 1 test is failing.
fast_finish: true
env:
- TEST_MEDIUM=1
before_install:
- cpanm -n Devel::Cover::Report::Coveralls
- cpanm --quiet --installdeps --notest .
install:
- perl Build.PL
- ./Build build
# We want to lint first, to avoid expensive tests if code isn't clean
# The "PYTHON_LINT_CALL" environment variable works around an old version of python3-flake8 that
# is available in the travis environment.
- PYTHON_LINT_CALL="python3 -m flake8.main" make lint
script:
- cover -test -report coveralls
# Using the container-based infrastructure
sudo: false