reorder build commands

This commit is contained in:
Oliver Gorwits
2018-01-30 10:05:25 +00:00
parent e4e3debce0
commit c4317e6e6b

View File

@@ -9,21 +9,24 @@ branches:
- /^3\.\d{2}$/
- 'master'
before_install:
- mkdir ~/netdisco-mibs && cd ~/netdisco-mibs && \
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 -
- cpanm --quiet --notest PkgConfig Test::CChecker \
Alien::zlib::Static \
Alien::OpenSSL::Static \
- >
mkdir ~/netdisco-mibs && cd ~/netdisco-mibs &&
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 -
- >
cpanm --quiet --notest PkgConfig Test::CChecker
Alien::zlib::Static
Alien::OpenSSL::Static
Alien::SNMP::MAXTC
install: true
before_script:
- cd $TRAVIS_BUILD_DIR
- 'cd ${TRAVIS_BUILD_DIR}'
script:
- perl Build.PL && \
PERL_MM_USE_DEFAULT=1 ./Build installdeps --cpan_client 'cpanm --quiet --notest' && \
./Build test --test_files t/ --test_files xt/
- >
perl Build.PL &&
PERL_MM_USE_DEFAULT=1 ./Build installdeps --cpan_client 'cpanm --quiet --notest' &&
./Build test --test_files t/ --test_files xt/
#notifications:
# irc:
# on_success: always