- %ENV
- $ENV
- TRAVIS
The environment variables set by Travis - Perl
examples/perl-environment-variables/.travis.yml
language: perl perl: - "5.30" - "5.28"
examples/perl-environment-variables/Makefile.PL
use strict; use warnings; use ExtUtils::MakeMaker; for my $key (sort keys %ENV) { print "$key=$ENV{$key}\n"; } WriteMakefile( NAME => 'Project', AUTHOR => q{Gabor Szabo <szabgab@cpan.org>}, VERSION => '0.01', ABSTRACT => 'Demo Perl Makefile.PL', ( $ExtUtils::MakeMaker::VERSION >= 6.3002 ? ( 'LICENSE' => 'perl' ) : () ), PL_FILES => {}, PREREQ_PM => { }, dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, );