Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test on all supported perls #2

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 22 additions & 8 deletions .travis.yml
@@ -1,21 +1,35 @@
---
env:
global:
- builddir=./build-CI
- RELEASE_TESTING=1
- AUTOMATED_TESTING=1
- EXTENDED_TESTING=1
- AUTHOR_TESTING=1
before_install:
- export HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
- git config --global user.name "Dist Zilla Plugin TravisCI"
- git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org"
install:
- cpanm --notest --skip-satisfied Pod::Weaver::Section::Support Test::Pod Text::Autoformat Test::TrailingSpace Dist::Zilla
- dzil authordeps | cpanm --notest --skip-satisfied
- dzil listdeps --author | cpanm --notest --skip-satisfied
- "export stableperl=`perlbrew list | tail -1`"
- perlbrew list
- "perlbrew exec --with $stableperl 'cpanm --quiet --notest --skip-satisfied Pod::Weaver::Section::Support Test::Pod Text::Autoformat Dist::Zilla'"
- "perlbrew exec --with $stableperl 'dzil authordeps | cpanm --quiet --notest --skip-satisfied'"
- "perlbrew exec --with $stableperl 'dzil listdeps --author | cpanm --notest --skip-satisfied'"
- "perlbrew exec --with $stableperl 'dzil build --in $builddir'"

install:
- "cpanm --quiet --notest --installdeps --skip-satisfied $builddir"
- cpanm --notest --skip-satisfied Test::CPAN::Changes Test::Kwalitee Test::TrailingSpace

language: perl
perl:
- '5.8'
- '5.10'
- '5.12'
- '5.14'
- '5.16'
- '5.18'
- '5.20'
- '5.22'
- '5.24'
- '5.26'
- '5.28'
script:
- dzil test --all
- '(cd $builddir && prove -lr t)'
3 changes: 3 additions & 0 deletions README.md
@@ -1 +1,4 @@
[![build status](https://secure.travis-ci.org/sholmif/Term-Shell.svg)](http://travis-ci.org/shlomif/Term-Shell)


Sources for [Term-Shell](https://metacpan.org/release/Term-Shell) .