From 0451e6f0a6a1dd6f3729c13ba382b2fb27a6bcb0 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Mon, 29 Jan 2018 22:30:58 +0000 Subject: [PATCH] add travis config file --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..c656eeef --- /dev/null +++ b/.travis.yml @@ -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'