   (sha || '').substr(0, 7)
 
 formatConfig = (config) ->
-  config = only config, Object.keys(config_keys_map)
+  config = only config, Object.keys(configKeysMap)
   values = mapObject config, (value, key) ->
     value = (if value && value.join then value.join(', ') else value) || ''
     if key == 'rvm' && "#{value}".match(/^\d+$/)
       value = "#{value}.0"
-    '%@: %@'.fmt config_keys_map[key], value
+    '%@: %@'.fmt configKeysMap[key], value
   if values.length == 0 then '-' else values.join(', ')
 
 formatMessage = (message, options) ->

require 'config/emoij'

config_keys_map = Travis.CONFIG_KEYS_MAP
config = ENV.config
githubCommitUrl = Travis.Urls.githubCommit
timeago = $.timeago


configKeys = (config) ->
  return [] unless config
  intersect(Object.keys(config), Object.keys(configKeysMap))

pathFrom = (url) ->
  (url || '').split('/').pop()
