Skip to content

Commit

Permalink
Setup visible CC integrations
Browse files Browse the repository at this point in the history
  • Loading branch information
maxjacobson committed Oct 25, 2016
1 parent 6d5a36f commit 6d4a259
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
contents/*.md
coverage
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ gem "mdl", "~> 0.3.1"
gem "posix-spawn"
gem "rake"

group :development do
group :test do
gem "rspec"
gem "simplecov"
gem "codeclimate-test-reporter", "1.0.0.pre.rc2"
end
36 changes: 23 additions & 13 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
GEM
remote: https://rubygems.org/
specs:
codeclimate-test-reporter (1.0.0.pre.rc2)
diff-lcs (1.2.5)
docile (1.1.5)
json (2.0.2)
kramdown (1.10.0)
mdl (0.3.1)
kramdown (~> 1.8, >= 1.8.0)
Expand All @@ -10,29 +13,36 @@ GEM
mixlib-cli (1.5.0)
mixlib-config (2.2.1)
posix-spawn (0.3.11)
rake (10.5.0)
rspec (3.4.0)
rspec-core (~> 3.4.0)
rspec-expectations (~> 3.4.0)
rspec-mocks (~> 3.4.0)
rspec-core (3.4.1)
rspec-support (~> 3.4.0)
rspec-expectations (3.4.0)
rake (11.3.0)
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.4.0)
rspec-mocks (3.4.1)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.4.0)
rspec-support (3.4.1)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
simplecov (0.12.0)
docile (~> 1.1.0)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.0)

PLATFORMS
ruby

DEPENDENCIES
codeclimate-test-reporter (= 1.0.0.pre.rc2)
mdl (~> 0.3.1)
posix-spawn
rake
rspec
simplecov

BUNDLED WITH
1.11.2
1.13.1
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ image:
docker build --rm -t $(IMAGE_NAME) .

test: image
docker run --rm $(IMAGE_NAME) sh -c "cd /usr/src/app && bundle exec rake"
docker run --rm \
--env CIRCLECI \
--env CIRCLE_BUILD_NUM \
--env CIRCLE_BRANCH \
--env CIRCLE_SHA1 \
--env CODECLIMATE_REPO_TOKEN \
--workdir /usr/src/app \
--volume "$(PWD)/.git:/usr/src/app/.git" \
$(IMAGE_NAME) sh -c "bundle exec rake && bundle exec codeclimate-test-reporter"
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# codeclimate-markdownlint

[![Code Climate](https://codeclimate.com/github/codeclimate/codeclimate-markdownlint/badges/gpa.svg)](https://codeclimate.com/github/codeclimate/codeclimate-markdownlint)
[![Test Coverage](https://codeclimate.com/github/codeclimate/codeclimate-markdownlint/badges/coverage.svg)](https://codeclimate.com/github/codeclimate/codeclimate-markdownlint)

Code Climate Engine to run [markdownlint][mdl]

## Installation

```
git clone https://github.com/jpignata/codeclimate-markdownlint
git clone https://github.com/codeclimate/codeclimate-markdownlint
cd codeclimate-markdownlint
make
```
Expand Down
2 changes: 2 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
machine:
environment:
CODECLIMATE_REPO_TOKEN: ca5120f90202a99c43c0914d301a94e5908136d146ecc0d7fe7fde1c3f9d325e
services:
- docker

Expand Down
6 changes: 5 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
require "rspec"
require "simplecov"

SimpleCov.start do
add_filter "/spec/"
end

0 comments on commit 6d4a259

Please sign in to comment.