From 9a4e024abb63c16532f37bede788ea5379006a48 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Mon, 29 Jan 2018 22:59:17 +0000 Subject: [PATCH] cd back to dist to build --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0c479865..075af1d7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,11 +14,12 @@ install: | Alien::OpenSSL::Static \ Alien::SNMP::MAXTC 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+$"))' | \ sort -rg | head -n1 | xargs -n1 curl -sL | tar --strip-components=1 -zxf - script: | - perl Build.PL && \ + cd $TRAVIS_BUILD_DIR && \ + perl Build.PL && \ ./Build && \ PERL_MM_USE_DEFAULT=1 ./Build installdeps --cpan_client 'cpanm --quiet --notest' && \ ./Build test --test_files t/ --test_files xt/