code: function ciCheck() {
   return exec('travis status --no-interactive', {cwd: path.join(config.libPath, 'dist')})
    .then((result) => {
      if (result.stdout === config.ci.validState) {
        return Promise.resolve(result)
      } else {
        return Promise.reject(result)
      }
    })
  }
docs: checks the status of the last build of the current repository --no-interactive disables the interactive mode source: https://github.com/travis-ci/travis.rb/blob/master/README.md