reorder build commands
This commit is contained in:
25
.travis.yml
25
.travis.yml
@@ -9,21 +9,24 @@ branches:
|
|||||||
- /^3\.\d{2}$/
|
- /^3\.\d{2}$/
|
||||||
- 'master'
|
- 'master'
|
||||||
before_install:
|
before_install:
|
||||||
- mkdir ~/netdisco-mibs && cd ~/netdisco-mibs && \
|
- >
|
||||||
curl -sL https://api.github.com/repos/netdisco/netdisco-mibs/tags | \
|
mkdir ~/netdisco-mibs && cd ~/netdisco-mibs &&
|
||||||
jq '.[]|.tarball_url|select(test("tarball/\\d+\\.\\d+$"))' | \
|
curl -sL https://api.github.com/repos/netdisco/netdisco-mibs/tags |
|
||||||
sort -rg | head -n1 | xargs -n1 curl -sL | tar --strip-components=1 -zxf -
|
jq '.[]|.tarball_url|select(test("tarball/\\d+\\.\\d+$"))' |
|
||||||
- cpanm --quiet --notest PkgConfig Test::CChecker \
|
sort -rg | head -n1 | xargs -n1 curl -sL | tar --strip-components=1 -zxf -
|
||||||
Alien::zlib::Static \
|
- >
|
||||||
Alien::OpenSSL::Static \
|
cpanm --quiet --notest PkgConfig Test::CChecker
|
||||||
|
Alien::zlib::Static
|
||||||
|
Alien::OpenSSL::Static
|
||||||
Alien::SNMP::MAXTC
|
Alien::SNMP::MAXTC
|
||||||
install: true
|
install: true
|
||||||
before_script:
|
before_script:
|
||||||
- cd $TRAVIS_BUILD_DIR
|
- 'cd ${TRAVIS_BUILD_DIR}'
|
||||||
script:
|
script:
|
||||||
- perl Build.PL && \
|
- >
|
||||||
PERL_MM_USE_DEFAULT=1 ./Build installdeps --cpan_client 'cpanm --quiet --notest' && \
|
perl Build.PL &&
|
||||||
./Build test --test_files t/ --test_files xt/
|
PERL_MM_USE_DEFAULT=1 ./Build installdeps --cpan_client 'cpanm --quiet --notest' &&
|
||||||
|
./Build test --test_files t/ --test_files xt/
|
||||||
#notifications:
|
#notifications:
|
||||||
# irc:
|
# irc:
|
||||||
# on_success: always
|
# on_success: always
|
||||||
|
|||||||
Reference in New Issue
Block a user