2014-10-04 15:38:36 +02:00
---
2017-06-28 05:31:05 +02:00
dist : trusty
2014-10-04 15:38:36 +02:00
install :
2014-10-04 15:47:48 +02:00
- 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
2014-10-04 16:29:05 +02:00
- sudo apt-get --no-install-recommends install pkg-config libdb-dev libvirt-dev libexpat-dev
2014-10-04 17:08:04 +02:00
# - Munin/Plugin.pm is in "munin-node" on precise
- sudo apt-get --no-install-recommends install munin-node
2017-06-28 00:13:59 +02:00
- sudo apt-get --no-install-recommends install libsys-virt-perl
2014-10-04 16:29:05 +02:00
2017-07-01 01:15:12 +02:00
# we use locally installed cpan modules instead of travis' builtin 'homebrew' perl support
# The homebrew variation does not work for us, since:
# * it is built without threading
# * the 'libvirt' plugin requires Sys::Virt, which is not available via cpan anymore - thus we need to install the Debian package 'libsys-virt-perl', which was built with threading
2017-07-01 00:53:02 +02:00
- cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
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
2017-06-29 00:56:46 +02:00
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
2014-10-05 01:45:57 +02:00
- 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
2014-10-04 21:39:22 +02:00
- 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
2015-02-22 22:08:29 +01:00
- cpanm --notest experimental
2014-10-04 15:38:36 +02:00
# Modules used by plugins, but missing on cpan
2016-11-24 04:00:36 +01:00
# - File::Tail::Multi
2014-10-04 15:38:36 +02:00
# - Sun::Solaris::Kstat
# - VMware::VIRuntime
# - MythTV
2017-06-29 00:56:46 +02:00
script :
2017-07-01 01:15:12 +02:00
- prove