Fix travis compilation

This commit is contained in:
Pavel Odintsov 2015-09-28 12:49:30 +03:00
parent 29479d82f6
commit 4d8d5bfc20

@ -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;
}