Commit Graph

47 Commits

Author SHA1 Message Date
Lars Kruse 758c3ecdd7 Tests: add ruby style and code checks via rubocop
At the moment all plugins fail the test out of various reasons.
Thus they are exempted from causing test failures.

But future (new) plugins will fail the test and thus indicate the
relevant steps to fix issues before a plugin is included.
2020-08-25 17:44:17 +02:00
Lars Kruse 4d8456af03 Introduce spelling tests via codespell 2020-03-26 04:32:29 +01:00
Lars Kruse e5abdeeb12 tests: enable shellcheck for shell-based plugins and flake8 for python-based plugins
Many plugins are still failing these tests.
These expected failures are listed in a file
(t/test-exception-wrapper.expected-failures)
A wrapper script is used for running the tests and comparing the result
with the expectation (based on the file being listed in the above file).

This allows to test all new plugins, while ignoring all known failures.
2019-08-13 05:16:13 +02:00
Lars Kruse 9695f9d635 travis: update packages to Ubuntu Bionic 2019-08-12 06:04:02 +02:00
Lars Kruse 64c755a053 travis: add more missing packages 2019-08-12 06:04:02 +02:00
Lars Kruse a00fb19c8f travis: install requirements via apt 2019-08-12 06:03:56 +02:00
Steve Schnepp 2124a49d57 travis: add Graphics::ColorNames::Windows 2019-07-31 20:46:42 +02:00
Steve Schnepp 2fe1beccc2 Revert "travis: do not use sudo, but the apt plugin"
This reverts commit 34b55fe3b5.
2019-07-28 11:05:53 +02:00
Steve Schnepp 34b55fe3b5 travis: do not use sudo, but the apt plugin 2019-07-27 21:23:35 +02:00
Steve Schnepp 58f0ab64f3 travis: remove the check for the nvidia plugin 2019-07-27 16:54:43 +02:00
Steve Schnepp 6c2a996879 travis: upgrade to an always current version of PHP 2019-07-27 16:37:42 +02:00
Steve Schnepp 36aa913ce9 travis: move to bionic 2019-07-27 16:30:43 +02:00
Steve Schnepp 77fb960536 travis: adding a dependency 2019-07-27 16:00:28 +02:00
Lars Kruse 6c0e154e07 tests: add "shellcheck" tests for "ksh" scripts 2018-03-09 06:10:25 +01:00
Lars Kruse a639d4b447 travis: explain change of perl environment
more details can be found in the discussion regarding this change:
  https://github.com/munin-monitoring/contrib/pull/853
2018-03-08 23:17:55 +01:00
Lars Kruse 81c1afa7ba perl: switch to system-wide perl 2018-03-08 23:17:55 +01:00
Lars Kruse 34c2ca4dcd remove perl 2018-03-08 23:17:55 +01:00
Lars Kruse 42c8483c4f travis: assemble module search path for mixture of cpan and apt modules 2018-03-08 23:17:55 +01:00
Lars Kruse 5eb8251fa6 travis: upgrade distribution to Ubuntu trusty 2018-03-08 23:17:55 +01:00
Lars Kruse a3d0fc15d9 travis: Switch installed via cpan 2018-03-08 23:17:55 +01:00
Lars Kruse c01fb0a904 travis: libsys-virt-perl installed via apt 2018-03-08 23:17:55 +01:00
Lars Kruse fea84ffc20 travis: do not import missing File::Tail::Multi 2016-11-24 04:00:36 +01:00
sumpfralle 1fc1d7526d Merge pull request #590 from dgilman/master
vnstat_month: suppress warnings in perl 5.18+
2016-10-17 03:18:24 +02:00
Lars Kruse c503e0dbcf CI / Travis: add zsh syntax check 2016-10-17 02:21:16 +02:00
David Gilman 807ba302f6 vnstat_month: suppress warnings in perl 5.18+ 2016-05-28 00:24:53 -05:00
Lars Kruse 702db510b6 add "python3" to the travis environment 2015-10-30 20:53:20 +01:00
Ilia Kondrashov cbfc03c25e add JSON module 2015-02-12 17:29:49 +01:00
Stig Sandbeck Mathisen 3c5883b6b9 We need YAML for testing 2014-10-15 16:16:06 +02:00
Stig Sandbeck Mathisen ab5dfc2bba No need to test verbosely anymore 2014-10-05 14:57:45 +02:00
Stig Sandbeck Mathisen 76e4b0332c Add DateTime::Format::ISO8601, needed for tests 2014-10-05 01:45:57 +02:00
Stig Sandbeck Mathisen 2882ff54d6 Be verbose 2014-10-05 00:17:33 +02:00
Stig Sandbeck Mathisen 7c030f5572 Also install XML::Smart for syntax checks 2014-10-04 21:39:22 +02:00
Stig Sandbeck Mathisen 2333696650 Syntax check ksh 2014-10-04 19:33:07 +02:00
Stig Sandbeck Mathisen 8bda292b64 use Munin::Plugin (and whatever else) from system perl library 2014-10-04 17:26:05 +02:00
Stig Sandbeck Mathisen b8ef86efd6 Install "munin-node" so we have access to Munin/Plugin.pm 2014-10-04 17:08:04 +02:00
Stig Sandbeck Mathisen 2ac1f7b84a More test dependencies 2014-10-04 16:58:35 +02:00
Stig Sandbeck Mathisen 2b6d5c5ac6 Add some POE libs to test dependencies 2014-10-04 16:55:41 +02:00
Stig Sandbeck Mathisen 528bec5859 Add "XML::LibXML" to test dependencies 2014-10-04 16:53:17 +02:00
Stig Sandbeck Mathisen f043e1555c Add more test dependencies 2014-10-04 16:47:58 +02:00
Stig Sandbeck Mathisen 22bbd906a3 split install lines, to keep sane 2014-10-04 16:42:48 +02:00
Stig Sandbeck Mathisen a2024d95a2 Add "pylint" for syntax checks 2014-10-04 16:33:02 +02:00
Stig Sandbeck Mathisen e78f2c7a44 adjust build dependencies for Sys::Virt 2014-10-04 16:29:05 +02:00
Stig Sandbeck Mathisen a9118ccda7 Use a specific version of Sys::Virt
- to match operatingsystem
 - also get build deps
2014-10-04 16:14:38 +02:00
Stig Sandbeck Mathisen bfbae31950 use a non-versioned package 2014-10-04 15:57:15 +02:00
Stig Sandbeck Mathisen 67f74fbda2 Add libvirt and berkeleydb development libraries 2014-10-04 15:54:02 +02:00
Stig Sandbeck Mathisen bb4550ffc8 run "apt-get update", and keep install minimal 2014-10-04 15:47:48 +02:00
Stig Sandbeck Mathisen 80cb37418a Add automated tests 2014-10-04 15:40:28 +02:00