From 236d6ac7a1b35c873fe73884a0a230e0d24e8c27 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Tue, 14 May 2019 12:11:21 -0400 Subject: [PATCH] Add xcatprobe to CI environment --- travis.pl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/travis.pl b/travis.pl index 3404908fb..abcf39047 100644 --- a/travis.pl +++ b/travis.pl @@ -382,11 +382,22 @@ sub install_xcat{ print "[install_xcat] $cmd....[Pass]\n"; } } + $cmd = "sudo apt-get install xcat-probe --allow-remove-essential --allow-unauthenticated"; + @output = runcmd("$cmd"); + if($::RUNCMD_RC){ + print RED "[install_xcat] $cmd ....[Failed]\n"; + print Dumper \@output; + $ret = 1; + }else{ + print "[install_xcat] $cmd ....[Pass]:\n"; + } + if($ret){ $check_result_str .= "> **INSTALL XCAT ERROR** : Please click ``Details`` label in ``Merge pull request`` box for detailed information"; send_back_comment("$check_result_str"); return 1; } + $check_result_str .= "> **INSTALL XCAT SUCCESSFUL**"; send_back_comment("$check_result_str"); }