root / .travis.yml @ 42c8483c
Historique | Voir | Annoter | Télécharger (2,9 ko)
| 1 | 80cb3741 | Stig Sandbeck Mathisen | ---
|
|---|---|---|---|
| 2 | 5eb8251f | Lars Kruse | dist: trusty |
| 3 | 80cb3741 | Stig Sandbeck Mathisen | language: perl |
| 4 | install:
|
||
| 5 | bb4550ff | Stig Sandbeck Mathisen | - sudo apt-get update
|
| 6 | c503e0db | Lars Kruse | - sudo apt-get --no-install-recommends install devscripts python python3 ruby php5-cli gawk ksh zsh pylint
|
| 7 | e78f2c7a | Stig Sandbeck Mathisen | - sudo apt-get --no-install-recommends install pkg-config libdb-dev libvirt-dev libexpat-dev
|
| 8 | b8ef86ef | Stig Sandbeck Mathisen | # - Munin/Plugin.pm is in "munin-node" on precise
|
| 9 | - sudo apt-get --no-install-recommends install munin-node
|
||
| 10 | c01fb0a9 | Lars Kruse | - sudo apt-get --no-install-recommends install libsys-virt-perl
|
| 11 | e78f2c7a | Stig Sandbeck Mathisen | |
| 12 | 80cb3741 | Stig Sandbeck Mathisen | # Modules used by test script
|
| 13 | 22bbd906 | Stig Sandbeck Mathisen | - cpanm --notest Capture::Tiny
|
| 14 | - cpanm --notest File::Find
|
||
| 15 | - cpanm --notest Test::More
|
||
| 16 | 42c8483c | Lars Kruse | |
| 17 | 80cb3741 | Stig Sandbeck Mathisen | # Modules used by plugins
|
| 18 | 22bbd906 | Stig Sandbeck Mathisen | - cpanm --notest Asterisk::AMI
|
| 19 | - cpanm --notest BerkeleyDB
|
||
| 20 | - cpanm --notest Cache::Memcached
|
||
| 21 | - cpanm --notest DBD::Pg
|
||
| 22 | - cpanm --notest Data::Dump
|
||
| 23 | 2ac1f7b8 | Stig Sandbeck Mathisen | - cpanm --notest Date::Manip
|
| 24 | f043e155 | Stig Sandbeck Mathisen | - cpanm --notest Date::Parse
|
| 25 | 76e4b033 | Stig Sandbeck Mathisen | - cpanm --notest DateTime::Format::ISO8601
|
| 26 | 22bbd906 | Stig Sandbeck Mathisen | - cpanm --notest Device::SerialPort
|
| 27 | - cpanm --notest FCGI::Client
|
||
| 28 | - cpanm --notest File::ReadBackwards
|
||
| 29 | 2ac1f7b8 | Stig Sandbeck Mathisen | - cpanm --notest Graphics::ColorObject
|
| 30 | 22bbd906 | Stig Sandbeck Mathisen | - cpanm --notest IPC::Run3
|
| 31 | - cpanm --notest IPC::ShareLite
|
||
| 32 | cbfc03c2 | Ilia Kondrashov | - cpanm --notest JSON
|
| 33 | f043e155 | Stig Sandbeck Mathisen | - cpanm --notest JSON::Any
|
| 34 | 2ac1f7b8 | Stig Sandbeck Mathisen | - cpanm --notest Mail::Sendmail
|
| 35 | 22bbd906 | Stig Sandbeck Mathisen | - cpanm --notest Modern::Perl
|
| 36 | - cpanm --notest MooseX::POE
|
||
| 37 | 2ac1f7b8 | Stig Sandbeck Mathisen | - cpanm --notest Net::DNS
|
| 38 | - cpanm --notest Net::OpenSSH
|
||
| 39 | f043e155 | Stig Sandbeck Mathisen | - cpanm --notest Net::SNMP
|
| 40 | 22bbd906 | Stig Sandbeck Mathisen | - cpanm --notest Net::Telnet
|
| 41 | - cpanm --notest Net::Telnet::Cisco
|
||
| 42 | - cpanm --notest POE
|
||
| 43 | 2b6d5c5a | Stig Sandbeck Mathisen | - cpanm --notest POE::Component::IRC
|
| 44 | - cpanm --notest POE::Quickie
|
||
| 45 | 22bbd906 | Stig Sandbeck Mathisen | - cpanm --notest Proc::ProcessTable
|
| 46 | - cpanm --notest Redis
|
||
| 47 | a3d0fc15 | Lars Kruse | - cpanm --notest Switch
|
| 48 | f043e155 | Stig Sandbeck Mathisen | - cpanm --notest Text::Iconv
|
| 49 | a3d0fc15 | Lars Kruse | - cpanm --notest WWW::Mechanize::TreeBuilder
|
| 50 | 3c5883b6 | Stig Sandbeck Mathisen | - cpanm --notest YAML
|
| 51 | 528bec58 | Stig Sandbeck Mathisen | - cpanm --notest XML::LibXML
|
| 52 | f043e155 | Stig Sandbeck Mathisen | - cpanm --notest XML::Simple
|
| 53 | 7c030f55 | Stig Sandbeck Mathisen | - cpanm --notest XML::Smart
|
| 54 | f043e155 | Stig Sandbeck Mathisen | - cpanm --notest XML::Twig
|
| 55 | 22bbd906 | Stig Sandbeck Mathisen | - cpanm --notest nvidia::ml
|
| 56 | 807ba302 | David Gilman | - cpanm --notest experimental
|
| 57 | 80cb3741 | Stig Sandbeck Mathisen | # Modules used by plugins, but missing on cpan
|
| 58 | fea84ffc | Lars Kruse | # - File::Tail::Multi
|
| 59 | 80cb3741 | Stig Sandbeck Mathisen | # - Sun::Solaris::Kstat
|
| 60 | # - VMware::VIRuntime
|
||
| 61 | # - MythTV
|
||
| 62 | 42c8483c | Lars Kruse | |
| 63 | # Mixing modules installed via cpan and apt is a bit problematic:
|
||
| 64 | # * perl (as it is used by travis) seems to be built without threading support
|
||
| 65 | # * perl modules installed via apt were built against a threaded perl (e.g. DBI/DBI.so)
|
||
| 66 | # Thus we need to make sure, that the modules installed via CPAN and the binary modules prepared by
|
||
| 67 | # travis are preferred over the binary perl modules installed via apt (e.g. below /usr/lib/perl).
|
||
| 68 | # Since the PERL5LIB environment variable precedes all other search paths, we use the sequence
|
||
| 69 | # below in order to achieve the following order of preference:
|
||
| 70 | # 1) /usr/share/perl5 (unknown requirement)
|
||
| 71 | # 2) perl search path defined by travis environment
|
||
| 72 | # 3) binary system-wide installed perl modules (via apt)
|
||
| 73 | script:
|
||
| 74 | - dpkg -L libsys-virt-perl
|
||
| 75 | - mkdir -p ~/system-perl/auto
|
||
| 76 | - ln -s /usr/lib/perl5/Sys ~/system-perl/
|
||
| 77 | - ln -s /usr/lib/perl5/auto/Sys ~/system-perl/auto/
|
||
| 78 | - "PERL5LIB=$PERL5LIB:/usr/share/perl5:~/system-perl prove" |
