add travis config file

This commit is contained in:
Oliver Gorwits
2018-01-29 22:30:58 +00:00
parent b7f87d9e82
commit 0451e6f0a6

20
.travis.yml Normal file
View File

@@ -0,0 +1,20 @@
language: perl
addons:
apt:
packages:
- libsnmp-dev
branches:
only:
- /^3\.\d{2}$/
- 'master'
install: true
script: |
perl Build.PL && \
./Build && \
PERL_MM_USE_DEFAULT=1 ./Build installdeps --cpan_client 'cpanm --quiet --notest' && \
./Build test --test_files t/ --test_files xt/
notifications:
irc:
on_success: always
channels:
- 'chat.freenode.net#netdisco'