Skip to content

Commit

Permalink
unify CI of release and coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Jan 8, 2020
1 parent 309127f commit d2cee4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,21 @@ matrix:
include:
- perl: "5.8.3"
- perl: "5.26"
env: RELEASE_TESTING=1
# separate from release testing else cover_db blows up xt/manifest.t
- perl: "5.26"
env: COVERAGE=1
env: RELEASE_TESTING=1 COVERAGE=1
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- env|sort
- build-perl
- local-lib cache
- perl -V
- cpan-install ExtUtils::MakeMaker~6.64 # for TEST_REQUIRES
- if [ "$RELEASE_TESTING" = 1 ]; then cpan-install --deps; prove -l xt; fi
- build-dist
- cd $BUILD_DIR # $BUILD_DIR is set by the build-dist command
install:
- cpan-install ExtUtils::MakeMaker~6.64 # for TEST_REQUIRES
- cpan-install --deps # installs prereqs, including recommends
- cpan-install --coverage # installs converage prereqs, if enabled
- if [ "$RELEASE_TESTING" = 1 ]; then prove -l xt; fi
- build-dist
- cd $BUILD_DIR # $BUILD_DIR is set by the build-dist command
before_script:
- coverage-setup
script:
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.SKIP
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ MYMETA\..*
^Makefile.bak$
pm_to_blib
\.swp$
^cover_db/

0 comments on commit d2cee4d

Please sign in to comment.