File: .travis.yml

package info (click to toggle)
munin 2.999.14-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 10,036 kB
  • sloc: perl: 31,052; sh: 12,473; java: 1,924; python: 852; makefile: 336; ruby: 232; awk: 169; xml: 45; sql: 11
file content (86 lines) | stat: -rw-r--r-- 2,236 bytes parent folder | download
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
---
dist: xenial
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
      - libparallel-forkmanager-perl
      - libparams-validate-perl
      - librrds-perl
      - libtest-class-perl
      - libtest-deep-perl
      - libtest-differences-perl
      - libtest-exception-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:
  # specify test level and announce cpanm's installation directory
  - TEST_MEDIUM=1 PERLLIB=/home/travis/perl5/lib/perl5

before_install:
  - cpanm -n Devel::Cover::Report::Coveralls

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