cd back to dist to build
This commit is contained in:
@@ -14,11 +14,12 @@ install: |
|
|||||||
Alien::OpenSSL::Static \
|
Alien::OpenSSL::Static \
|
||||||
Alien::SNMP::MAXTC
|
Alien::SNMP::MAXTC
|
||||||
mkdir ~/netdisco-mibs && cd ~/netdisco-mibs && \
|
mkdir ~/netdisco-mibs && cd ~/netdisco-mibs && \
|
||||||
curl -sL https://api.github.com/repos/netdisco/netdisco-mibs/tags | \
|
curl -L 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 -
|
||||||
script: |
|
script: |
|
||||||
perl Build.PL && \
|
cd $TRAVIS_BUILD_DIR && \
|
||||||
|
perl Build.PL && \
|
||||||
./Build && \
|
./Build && \
|
||||||
PERL_MM_USE_DEFAULT=1 ./Build installdeps --cpan_client 'cpanm --quiet --notest' && \
|
PERL_MM_USE_DEFAULT=1 ./Build installdeps --cpan_client 'cpanm --quiet --notest' && \
|
||||||
./Build test --test_files t/ --test_files xt/
|
./Build test --test_files t/ --test_files xt/
|
||||||
|
|||||||
Reference in New Issue
Block a user