From 4d8d5bfc200b696efd71f2256aeb8d5b2bd2d58e Mon Sep 17 00:00:00 2001 From: Pavel Odintsov Date: Mon, 28 Sep 2015 12:49:30 +0300 Subject: [PATCH] Fix travis compilation --- src/fastnetmon_install.pl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/fastnetmon_install.pl b/src/fastnetmon_install.pl index 9a1b4b23..b4d8e709 100755 --- a/src/fastnetmon_install.pl +++ b/src/fastnetmon_install.pl @@ -119,12 +119,8 @@ sub install_additional_repositories { } sub get_user_email { - for my $key (keys %ENV) { - print "$key $ENV{$key}\n"; - } - # http://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables - if (defined($ENV{'CONTINUOUS_INTEGRATION'}) && $ENV{'CONTINUOUS_INTEGRATION'} eq 'true') { + if (defined($ENV{'TRAVIS'}) && $ENV{'TRAVIS'}) { return; }