Files
netdisco/.travis.yml
Oliver Gorwits 5cc99cf20f Update .travis.yml
Send git commit emails to the mail list from Travis, instead of from GitHub (they are retiring the option for that).
2018-12-28 18:24:05 +00:00

30 lines
612 B
YAML

language: perl
addons:
apt:
packages:
- libsnmp-dev
- phantomjs
hosts:
- localhost
branches:
only:
- /^2\.\d{6}$/
- 'master'
install: true
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: change
on_failure: always
channels:
- 'chat.freenode.net#netdisco'
email:
on_success: always
on_failure: always
recipients:
- 'netdisco-ng-commit@lists.sourceforge.net'