Projet

Général

Profil

Paste
Télécharger au format
Statistiques
| Branche: | Révision:

root / .travis.yml @ 2fe1becc

Historique | Voir | Annoter | Télécharger (2,51 ko)

1
---
2
dist: bionic
3
install:
4
  - sudo apt-get update
5
  - sudo apt-get --no-install-recommends install devscripts python python3 ruby php-cli gawk ksh zsh pylint shellcheck
6
  - sudo apt-get --no-install-recommends install pkg-config libdb-dev libvirt-dev libexpat-dev
7
  # - Munin/Plugin.pm is in "munin-node" on precise
8
  - sudo apt-get --no-install-recommends install munin-node
9
  - sudo apt-get --no-install-recommends install libsys-virt-perl
10

    
11
  # we use locally installed cpan modules instead of travis' builtin 'homebrew' perl support
12
  # The homebrew variation does not work for us, since:
13
  #   * it is built without threading
14
  #   * 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
15
  - cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
16

    
17
  # Modules used by test script
18
  - cpanm --notest Capture::Tiny
19
  - cpanm --notest File::Find
20
  - cpanm --notest Test::More
21

    
22
  # Modules used by plugins
23
  - cpanm --notest Asterisk::AMI
24
  - cpanm --notest BerkeleyDB
25
  - cpanm --notest Cache::Memcached
26
  - cpanm --notest DBD::Pg
27
  - cpanm --notest Data::Dump
28
  - cpanm --notest Date::Manip
29
  - cpanm --notest Date::Parse
30
  - cpanm --notest DateTime::Format::ISO8601
31
  - cpanm --notest Device::SerialPort
32
  - cpanm --notest FCGI::Client
33
  - cpanm --notest File::ReadBackwards
34
  - cpanm --notest Graphics::ColorObject
35
  - cpanm --notest Graphics::ColorNames::HTML
36
  - cpanm --notest IPC::Run3
37
  - cpanm --notest IPC::ShareLite
38
  - cpanm --notest JSON
39
  - cpanm --notest JSON::Any
40
  - cpanm --notest Mail::Sendmail
41
  - cpanm --notest Modern::Perl
42
  - cpanm --notest MooseX::POE
43
  - cpanm --notest Net::DNS
44
  - cpanm --notest Net::OpenSSH
45
  - cpanm --notest Net::SNMP
46
  - cpanm --notest Net::Telnet
47
  - cpanm --notest Net::Telnet::Cisco
48
  - cpanm --notest POE
49
  - cpanm --notest POE::Component::IRC
50
  - cpanm --notest POE::Quickie
51
  - cpanm --notest Proc::ProcessTable
52
  - cpanm --notest Redis
53
  - cpanm --notest Switch
54
  - cpanm --notest Text::Iconv
55
  - cpanm --notest WWW::Mechanize::TreeBuilder
56
  - cpanm --notest YAML
57
  - cpanm --notest XML::LibXML
58
  - cpanm --notest XML::Simple
59
  - cpanm --notest XML::Smart
60
  - cpanm --notest XML::Twig
61
  - cpanm --notest experimental
62
  # Modules used bu plugins, but not compiling from CPAN
63
  # - cpanm --notest nvidia::ml
64
  # Modules used by plugins, but missing on cpan
65
  # - File::Tail::Multi
66
  # - Sun::Solaris::Kstat
67
  # - VMware::VIRuntime
68
  # - MythTV
69

    
70
script:
71
  - prove