Checks status of CI build from Travis.
6 7 8 9 10 11 12 13 14
# File 'lib/herkko/travis.rb', line 6 def status_for(branch) if travis_cli_installed? status = fetch_status(branch) status_to_code(status) else Herkko.info "Travis CLI has not been installed, run: gem install travis" :unknown end end