try to fix escaping

This commit is contained in:
Oliver Gorwits
2018-01-30 10:22:27 +00:00
parent 831788c1c9
commit 6740929d41

View File

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