Skip to content

Commit

Permalink
Take inspiration from Travis example configs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattias-p committed Oct 18, 2019
1 parent 8b34c30 commit b0e2a51
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,18 @@ perl:
- "5.20"
- "5.16"

env: PERL_CPANM_OPT="--verbose --notest --force --skip-satisfied"

before_install:
- sudo apt-get install -y libidn11-dev
- eval $(curl https://travis-perl.github.io/init) --auto
- local-lib
- cpanm Devel::CheckLib Module::Install Module::Install::XSUtil
- git clone --depth=1 --branch=$TRAVIS_BRANCH https://github.com/zonemaster/zonemaster-ldns.git
- cpan-install --deps Devel::CheckLib Module::Install Module::Install::XSUtil ./zonemaster-ldns
- cpanm ./zonemaster-ldns
- rm -rf zonemaster-ldns

install:
- cpanm --installdeps .

script:
- perl Makefile.PL
- make test

0 comments on commit b0e2a51

Please sign in to comment.