         failed_jobs = SlackCoder.Travis.build_info(pr.owner, pr.repo, build_id)
                       |> Enum.filter(&match?(%Build{result: :failure}, &1))
                       |> Enum.map(fn build ->
-                        SlackCoder.Travis.job_log(build) |> to_string()
+                        SlackCoder.Travis.job_log(build)
                       end)
-        message = """
-        :facepalm: *FAILURE* *#{pr.title}* :-1:
-        #{pr.build_url}
-        #{pr.html_url}
-
-        ```
-        #{Enum.join(failed_jobs, "\n")}
-        ```
-        """
+        message = %{
+                    attachments: [
+                      %{
+                        author_name: ":-1: FAILURE",
+                        color: "#FF0000",
+                        fallback: "FAILURE #{pr.title}",
+                        title: pr.title,
+                        title_link: pr.html_url,
+                        text: """
+                        <#{pr.build_url}|Travis Build>
+                        ```
+                        #{Enum.join(failed_jobs, "\n")}
+                        ```
+                        """,
+                        mrkdwn_in: ["text"],
+                        footer: "#{Enum.sum(Enum.map(failed_jobs, &(Enum.count(&1.rspec))))} rspec, #{Enum.sum(Enum.map(failed_jobs, &(Enum.count(&1.cucumber))))} cucumber"
+                      }
+                    ]
+                  }
         notify(slack_users, :fail, message_for, message, pr)
         pr
       _ -> pr

  def success(pr) do
    case user_for_pr(pr) |> slack_user_with_monitors do
      [message_for | slack_users] ->
        message = """
        :bananadance: *SUCCESS* *#{pr.title}* :success:
        #{pr.html_url}
        """
        notify(slack_users, :pass, message_for, message, pr)
        pr
      _ -> pr

  def closed(pr) do
    case user_for_pr(pr) |> slack_user_with_monitors do
      [message_for | slack_users] ->
        message = %{
                    attachments: [
                      %{
                        fallback: "CLOSED #{pr.title}",
                        author_name: ":rage: CLOSED",
                        color: "#FF4500",
                        title: pr.title,
                        title_link: pr.html_url
                      }
                    ]
                  }
        notify(slack_users, :merge, message_for, message, pr)
        pr
      _ -> pr
