diff --git a/.travis.yml b/.travis.yml index a5ee5998..81734ec0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,65 +1,76 @@ --- dist: bionic -install: - - sudo apt-get update - - sudo apt-get --no-install-recommends install devscripts python python3 ruby php-cli gawk ksh zsh pylint shellcheck - - 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 +addons: + apt: + packages: + - devscripts + - python + - python3 + - ruby + - php5-cli + - gawk + - ksh + - zsh + - pylint + - shellcheck + - pkg-config + - libdb-dev + - libvirt-dev + - libexpat-dev - # 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 + # Munin/Plugin.pm is in "munin-node" on precise + - munin-node + + # Modules used by test script + - libsys-virt-perl + - libcapture-tiny-perl + + # Modules used by plugins + - libberkeleydb-perl + - libcache-memcached-perl + - libgraphics-colornames-www-perl + - libdbd-pg-perl + - libdata-dump-perl + - libdate-manip-perl + - libdatetime-format-iso8601-perl + - libdevice-serialport-perl + - libfile-readbackwards-perl + - libgraphics-colorobject-perl + - libipc-run3-perl + - libipc-sharelite-perl + - libjson-perl + - libjson-any-perl + - libmail-sendmail-perl + - libmodern-perl-perl + - libmoosex-poe-perl + - libnet-dns-perl + - libnet-openssh-perl + - libnet-snmp-perl + - libnet-telnet-perl + - libnet-telnet-cisco-perl + - libpoe-perl + - libproc-processtable-perl + - libredis-perl + - libswitch-perl + - libtext-iconv-perl + - libwww-mechanize-treebuilder-perl + - libyaml-perl + - libxml-libxml-perl + - libxml-simple-perl + - libxml-smart-perl + - libxml-twig-perl + - libexperimental-perl + +before_install: - cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) - - # Modules used by test script - - cpanm --notest Capture::Tiny - cpanm --notest File::Find - cpanm --notest Test::More - - # Modules used by plugins + # more Modules used by plugins - cpanm --notest Asterisk::AMI - - cpanm --notest BerkeleyDB - - cpanm --notest Cache::Memcached - - cpanm --notest DBD::Pg - - cpanm --notest Data::Dump - - cpanm --notest Date::Manip - cpanm --notest Date::Parse - - cpanm --notest DateTime::Format::ISO8601 - - cpanm --notest Device::SerialPort - cpanm --notest FCGI::Client - - cpanm --notest File::ReadBackwards - - cpanm --notest Graphics::ColorObject - - cpanm --notest Graphics::ColorNames::HTML - - cpanm --notest Graphics::ColorNames::Windows - - cpanm --notest IPC::Run3 - - cpanm --notest IPC::ShareLite - - cpanm --notest JSON - - cpanm --notest JSON::Any - - cpanm --notest Mail::Sendmail - - cpanm --notest Modern::Perl - - cpanm --notest MooseX::POE - - cpanm --notest Net::DNS - - cpanm --notest Net::OpenSSH - - cpanm --notest Net::SNMP - - cpanm --notest Net::Telnet - - cpanm --notest Net::Telnet::Cisco - - cpanm --notest POE - cpanm --notest POE::Component::IRC - cpanm --notest POE::Quickie - - cpanm --notest Proc::ProcessTable - - cpanm --notest Redis - - cpanm --notest Switch - - cpanm --notest Text::Iconv - - cpanm --notest WWW::Mechanize::TreeBuilder - - cpanm --notest YAML - - cpanm --notest XML::LibXML - - cpanm --notest XML::Simple - - cpanm --notest XML::Smart - - cpanm --notest XML::Twig - - cpanm --notest experimental # Modules used bu plugins, but not compiling from CPAN # - cpanm --notest nvidia::ml # Modules used by plugins, but missing on cpan