2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
contrib-munin/.travis.yml

79 lines
2.9 KiB
YAML
Raw Normal View History

2014-10-04 15:38:36 +02:00
---
dist: trusty
2014-10-04 15:38:36 +02:00
language: perl
install:
- sudo apt-get update
2016-10-17 02:21:16 +02:00
- sudo apt-get --no-install-recommends install devscripts python python3 ruby php5-cli gawk ksh zsh pylint
- sudo apt-get --no-install-recommends install pkg-config libdb-dev libvirt-dev libexpat-dev
# - Munin/Plugin.pm is in "munin-node" on precise
- sudo apt-get --no-install-recommends install munin-node
- sudo apt-get --no-install-recommends install libsys-virt-perl
2014-10-04 15:38:36 +02:00
# Modules used by test script
2014-10-04 16:42:48 +02:00
- cpanm --notest Capture::Tiny
- cpanm --notest File::Find
- cpanm --notest Test::More
2014-10-04 15:38:36 +02:00
# Modules used by plugins
2014-10-04 16:42:48 +02:00
- cpanm --notest Asterisk::AMI
- cpanm --notest BerkeleyDB
- cpanm --notest Cache::Memcached
- cpanm --notest DBD::Pg
- cpanm --notest Data::Dump
2014-10-04 16:58:35 +02:00
- cpanm --notest Date::Manip
2014-10-04 16:43:37 +02:00
- cpanm --notest Date::Parse
- cpanm --notest DateTime::Format::ISO8601
2014-10-04 16:42:48 +02:00
- cpanm --notest Device::SerialPort
- cpanm --notest FCGI::Client
- cpanm --notest File::ReadBackwards
2014-10-04 16:58:35 +02:00
- cpanm --notest Graphics::ColorObject
2014-10-04 16:42:48 +02:00
- cpanm --notest IPC::Run3
- cpanm --notest IPC::ShareLite
2015-02-12 17:29:49 +01:00
- cpanm --notest JSON
2014-10-04 16:43:37 +02:00
- cpanm --notest JSON::Any
2014-10-04 16:58:35 +02:00
- cpanm --notest Mail::Sendmail
2014-10-04 16:42:48 +02:00
- cpanm --notest Modern::Perl
- cpanm --notest MooseX::POE
2014-10-04 16:58:35 +02:00
- cpanm --notest Net::DNS
- cpanm --notest Net::OpenSSH
2014-10-04 16:43:37 +02:00
- cpanm --notest Net::SNMP
2014-10-04 16:42:48 +02:00
- cpanm --notest Net::Telnet
- cpanm --notest Net::Telnet::Cisco
- cpanm --notest POE
2014-10-04 16:55:41 +02:00
- cpanm --notest POE::Component::IRC
- cpanm --notest POE::Quickie
2014-10-04 16:42:48 +02:00
- cpanm --notest Proc::ProcessTable
- cpanm --notest Redis
2017-06-28 00:14:19 +02:00
- cpanm --notest Switch
2014-10-04 16:43:37 +02:00
- cpanm --notest Text::Iconv
2017-06-28 00:14:19 +02:00
- cpanm --notest WWW::Mechanize::TreeBuilder
2014-10-15 16:16:06 +02:00
- cpanm --notest YAML
2014-10-04 16:53:17 +02:00
- cpanm --notest XML::LibXML
2014-10-04 16:43:37 +02:00
- cpanm --notest XML::Simple
- cpanm --notest XML::Smart
2014-10-04 16:43:37 +02:00
- cpanm --notest XML::Twig
2014-10-04 16:42:48 +02:00
- cpanm --notest nvidia::ml
- cpanm --notest experimental
2014-10-04 15:38:36 +02:00
# Modules used by plugins, but missing on cpan
# - File::Tail::Multi
2014-10-04 15:38:36 +02:00
# - Sun::Solaris::Kstat
# - VMware::VIRuntime
# - MythTV
# Mixing modules installed via cpan and apt is a bit problematic:
# * perl (as it is used by travis) seems to be built without threading support
# * perl modules installed via apt were built against a threaded perl (e.g. DBI/DBI.so)
# Thus we need to make sure, that the modules installed via CPAN and the binary modules prepared by
# travis are preferred over the binary perl modules installed via apt (e.g. below /usr/lib/perl).
# Since the PERL5LIB environment variable precedes all other search paths, we use the sequence
# below in order to achieve the following order of preference:
# 1) /usr/share/perl5 (unknown requirement)
# 2) perl search path defined by travis environment
# 3) binary system-wide installed perl modules (via apt)
script:
- dpkg -L libsys-virt-perl
- mkdir -p ~/system-perl/auto
- ln -s /usr/lib/perl5/Sys ~/system-perl/
- ln -s /usr/lib/perl5/auto/Sys ~/system-perl/auto/
- "PERL5LIB=$PERL5LIB:/usr/share/perl5:~/system-perl prove"