try to fix escaping

This commit is contained in:
Oliver Gorwits
2018-01-30 10:08:11 +00:00
parent c4317e6e6b
commit 7e9d4520af

View File

@@ -9,10 +9,11 @@ branches:
- /^3\.\d{2}$/ - /^3\.\d{2}$/
- 'master' - 'master'
before_install: before_install:
- mkdir ~/netdisco-mibs
- cd ~/netdisco-mibs
- > - >
mkdir ~/netdisco-mibs && cd ~/netdisco-mibs &&
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