different source for mibs

This commit is contained in:
Oliver Gorwits
2018-01-30 10:47:24 +00:00
parent 6740929d41
commit 1146e99de2

View File

@@ -11,11 +11,9 @@ branches:
before_install:
- mkdir ~/netdisco-mibs
- cd ~/netdisco-mibs
- 'curl -L https://api.github.com/repos/netdisco/netdisco-mibs/tags >/dev/null'
- >
curl -sL https://api.github.com/repos/netdisco/netdisco-mibs/tags |
jq '.[]|.tarball_url|select(test("tarball/\\d+\\.\\d+$"))' |
sort -rg | head -n1 | xargs -n1 curl -sL | tar --strip-components=1 -zxf -
curl -sL https://downloads.sourceforge.net/project/netdisco/netdisco-mibs/latest-snapshot/netdisco-mibs-snapshot.tar.gz |
tar --strip-components=1 -zxf -
- >
cpanm --quiet --notest PkgConfig Test::CChecker
Alien::zlib::Static