Projet

Général

Profil

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

root / .travis.yml @ e93a46bc

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

1
---
2
dist: trusty
3
install:
4
  - sudo apt-get update
5
  - sudo apt-get --no-install-recommends install devscripts python python3 ruby php5-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 IPC::Run3
36
  - cpanm --notest IPC::ShareLite
37
  - cpanm --notest JSON
38
  - cpanm --notest JSON::Any
39
  - cpanm --notest Mail::Sendmail
40
  - cpanm --notest Modern::Perl
41
  - cpanm --notest MooseX::POE
42
  - cpanm --notest Net::DNS
43
  - cpanm --notest Net::OpenSSH
44
  - cpanm --notest Net::SNMP
45
  - cpanm --notest Net::Telnet
46
  - cpanm --notest Net::Telnet::Cisco
47
  - cpanm --notest POE
48
  - cpanm --notest POE::Component::IRC
49
  - cpanm --notest POE::Quickie
50
  - cpanm --notest Proc::ProcessTable
51
  - cpanm --notest Redis
52
  - cpanm --notest Switch
53
  - cpanm --notest Text::Iconv
54
  - cpanm --notest WWW::Mechanize::TreeBuilder
55
  - cpanm --notest YAML
56
  - cpanm --notest XML::LibXML
57
  - cpanm --notest XML::Simple
58
  - cpanm --notest XML::Smart
59
  - cpanm --notest XML::Twig
60
  - cpanm --notest nvidia::ml
61
  - cpanm --notest experimental
62
  # Modules used by plugins, but missing on cpan
63
  # - File::Tail::Multi
64
  # - Sun::Solaris::Kstat
65
  # - VMware::VIRuntime
66
  # - MythTV
67

    
68
script:
69
  - prove