This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# Post coverage rate to Slack | |
# | |
# Usage: bash circleci-coverage-slack.sh [simplecov|cobertura|jacoco] | |
# | |
# Required environment variables: | |
# | |
# - CIRCLE_TOKEN: project-specific readonly API token (need to access build artifacts for others) | |
# - SLACK_ENDPOINT: Slack endpoint url | |
# - COVERAGE_FILE: coverage filename (default: .last_run.json) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang='ja'> | |
<head> | |
<meta charset='UTF-8'> | |
<title>カレーのレシピ</title> | |
</head> | |
<body> | |
<header> | |
<h1>カレーのレシピ</h1> | |
<p>誰でもできる、美味しいカレーの作り方です。旦那も息子もこのカレーが大好物。</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
#-*- coding: utf-8 -*- | |
require 'twitter' | |
require 'user_stream' | |
require 'active_support' | |
require 'active_support/core_ext' | |
require 'enumerable/lazy' | |
UserStream.configure do |config| | |
config.consumer_key = 'YOUR COMSUMER KEY' |