Files
netdisco/.travis.yml
Oliver Gorwits 65f695410e test compilation of all scripts and modules (#537)
* test compilation of all scripts and modules passes

* try adding NetSNMP::default_store

* try adding NetSNMP::default_store

* travis test all branches

* make Configuration.pm safe for tests

* remove dep

* try adding net-snmp

* dist: xenial

* try building Net-SNMP locally

* no need for Try::Tiny

* allow test to pass for DPP:p

* better testing setup for session cookies

* yay! working compile tests for ALL!
2019-03-12 13:02:35 +00:00

31 lines
714 B
YAML

language: perl
addons:
apt:
packages:
- libsnmp-dev
- phantomjs
hosts:
- localhost
branches:
only:
- /^2\.\d{6}$/
- 'master'
install:
- cpanm --quiet --notest PkgConfig Test::CChecker Alien::zlib::Static Alien::OpenSSL::Static Alien::SNMP
script: |
perl Build.PL && \
./Build && \
PERL_MM_USE_DEFAULT=1 ./Build installdeps --cpan_client 'cpanm --quiet --notest' && \
ND_PHANTOMJS=/usr/bin/phantomjs ./Build test --test_files xt/
notifications:
irc:
on_success: always
on_failure: always
channels:
- 'chat.freenode.net#netdisco'
email:
on_success: always
on_failure: always
recipients:
- 'netdisco-ng-commit@lists.sourceforge.net'