1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

travis: install requirements via apt

This commit is contained in:
Lars Kruse 2018-07-24 02:25:33 +02:00
parent 0e0de01136
commit a00fb19c8f

View file

@ -1,65 +1,76 @@
--- ---
dist: bionic dist: bionic
install: addons:
- sudo apt-get update apt:
- sudo apt-get --no-install-recommends install devscripts python python3 ruby php-cli gawk ksh zsh pylint shellcheck packages:
- sudo apt-get --no-install-recommends install pkg-config libdb-dev libvirt-dev libexpat-dev - devscripts
# - Munin/Plugin.pm is in "munin-node" on precise - python
- sudo apt-get --no-install-recommends install munin-node - python3
- sudo apt-get --no-install-recommends install libsys-virt-perl - 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 # Munin/Plugin.pm is in "munin-node" on precise
# The homebrew variation does not work for us, since: - munin-node
# * 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 # 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) - 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 File::Find
- cpanm --notest Test::More - cpanm --notest Test::More
# more Modules used by plugins
# Modules used by plugins
- cpanm --notest Asterisk::AMI - 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 Date::Parse
- cpanm --notest DateTime::Format::ISO8601
- cpanm --notest Device::SerialPort
- cpanm --notest FCGI::Client - 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::Component::IRC
- cpanm --notest POE::Quickie - 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 # Modules used bu plugins, but not compiling from CPAN
# - cpanm --notest nvidia::ml # - cpanm --notest nvidia::ml
# Modules used by plugins, but missing on cpan # Modules used by plugins, but missing on cpan