Travis: Initiating build for commit '0ceb0946b3564f4d0f64f4a0cddbb423cb4caf66': refs #4121 make sure to execute a command only if in cli mode