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

New .travis.yml to use travis-perl helpers. #1179

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 16 additions & 24 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
language: perl

perl:
- "5.26"
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"

- "5.8" # normal preinstalled perl
- "5.8.4" # downloads a pre-built 5.8.4
- "5.8.4-thr" # pre-built 5.8.4 with threading
- "5.12.2" # builds perl 5.12.2 from source (pre-built not available)
- "5.20" # installs latest perl 5.20 (if not already available)
- "dev" # installs latest developer release of perl (e.g. 5.21.8)
- "blead" # builds perl from git
matrix:
include:
- perl: 5.18
env: COVERAGE=1 # enables coverage+coveralls reporting
allow_failures:
- perl: blead # ignore failures for blead perl
sudo: false # faster builds as long as you don't need sudo access
before_install:
- eval $(curl https://travis-perl.github.io/init) --auto
notifications:
irc:
channels:
Expand All @@ -23,16 +28,3 @@ notifications:
before_install:
- git config --global user.email "[email protected]"
- git config --global user.name "Perl Dancer dev team"
install:
#Safe fails to install due to failing tests since version 2.35 on perl < 5.14
- perl -E 'exit($] < 5.014)' || cpanm --no-skip-satisfied Safe || cpanm --no-skip-satisfied --notest Safe || { cat ~/.cpanm/build.log ; false ; }
#Moo fails to install without Class::Method::Modifiers since 2012/10/19
- cpanm --no-skip-satisfied Class::Method::Modifiers YAML::XS || { cat ~/.cpanm/build.log ; false ; }
- dzil authordeps --missing | cpanm --no-skip-satisfied --notest || { cat ~/.cpanm/build.log ; false ; }
- dzil listdeps --author --missing | cpanm --no-skip-satisfied || { cat ~/.cpanm/build.log ; false ; }

# We do not need sudo. Setting this allows travis to use (Docker) containers on EC2
sudo: false

script:
- dzil smoke --author --release