File: .travis.yml

package info (click to toggle)
munin 2.0.67-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 7,024 kB
  • sloc: perl: 11,681; java: 1,924; sh: 1,619; makefile: 636; javascript: 365; python: 267
file content (71 lines) | stat: -rw-r--r-- 1,988 bytes parent folder | download | duplicates (2)
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
dist: xenial
language: minimal
branches:
 only:
  - stable-2.0
  - master
  - travis-test
addons:
  apt:
    packages:
      - codespell
      - devscripts
      - libpango1.0-dev
      - libfile-copy-recursive-perl
      - libfile-slurp-perl
      - libhtml-template-perl
      - libio-socket-inet6-perl
      - libio-stringy-perl
      - liblist-moreutils-perl
      - liblog-dispatch-perl
      - liblog-log4perl-perl
      - libmodule-build-perl
      - libnet-server-perl
      - libnet-snmp-perl
      - libnet-ssleay-perl
      - librrds-perl
      - libtest-deep-perl
      - libtest-differences-perl
      - libtest-exception-perl
      - libtest-longstring-perl
      - libtest-mockmodule-perl
      - libtest-mockobject-perl
      - python3-flake8
      - shellcheck
      - dh-make-perl
      - libdevel-cover-perl
      - libhttp-tiny-perl
      - libio-socket-ssl-perl
      - libjson-pp-perl
      - libyaml-perl
      - libmodule-build-tiny-perl
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:
  - ( cd /tmp && wget https://cpan.metacpan.org/authors/id/M/MI/MIKIHOSHI/Devel-Cover-Report-Coveralls-0.13.tar.gz )
  - ( cd /tmp && tar zxvf Devel-Cover-Report-Coveralls-0.13.tar.gz )
  - ( cd /tmp && dh-make-perl make --build Devel-Cover-Report-Coveralls-0.13 )
  - ( cd /tmp && sudo dpkg -i libdevel-cover-report-coveralls-perl*.deb )
  - ( cd /tmp && sudo apt-get install -yf )

script:
  - make
  # the old travis environment requires an old flake8 invocation
  - PYTHON_LINT_CALL="python3 -m flake8.main" make lint
  - make test
  - make clean && dev_scripts/install && dev_scripts/run munin-node-configure --suggest