Skip to content

Commit

Permalink
Add AccessLint
Browse files Browse the repository at this point in the history
  • Loading branch information
tysongach committed Mar 20, 2017
1 parent 8e6206b commit bef52b9
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ source "https://rubygems.org"

ruby "2.3.1"

gem "accesslint-ci", "0.2.8"
gem "bourbon", "~> 5.0.0.beta.7"
gem "middleman", "~> 4.2"
gem "middleman-aria_current", "~> 0.1"
Expand Down
19 changes: 19 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
GEM
remote: https://rubygems.org/
specs:
accesslint-ci (0.2.8)
rest-client (~> 2.0)
thor (~> 0.19)
activesupport (5.0.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (~> 0.7)
Expand All @@ -22,6 +25,8 @@ GEM
sass (>= 3.2, < 3.5)
concurrent-ruby (1.0.4)
contracts (0.13.0)
domain_name (0.5.20170223)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.2.0)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
Expand All @@ -39,6 +44,8 @@ GEM
concurrent-ruby (~> 1.0)
hashie (3.5.1)
htmlcompressor (0.2.0)
http-cookie (1.0.3)
domain_name (~> 0.5)
http_parser.rb (0.6.0)
i18n (0.7.0)
kramdown (1.13.2)
Expand Down Expand Up @@ -91,10 +98,14 @@ GEM
middleman-minify-html (3.4.1)
htmlcompressor (~> 0.2.0)
middleman-core (>= 3.2)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
minitest (5.10.1)
neat (2.0.0)
sass (~> 3.4)
thor (~> 0.19)
netrc (0.11.0)
padrino-helpers (0.13.3.3)
i18n (~> 0.6, >= 0.6.7)
padrino-support (= 0.13.3.3)
Expand All @@ -111,6 +122,10 @@ GEM
rb-inotify (0.9.8)
ffi (>= 0.5.0)
redcarpet (3.4.0)
rest-client (2.0.1)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
sass (3.4.23)
sassc (1.11.2)
bundler
Expand All @@ -124,11 +139,15 @@ GEM
thread_safe (~> 0.1)
uglifier (3.0.4)
execjs (>= 0.3.0, < 3)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.2)

PLATFORMS
ruby

DEPENDENCIES
accesslint-ci (= 0.2.8)
bourbon (~> 5.0.0.beta.7)
middleman (~> 4.2)
middleman-aria_current (~> 0.1)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ This template comes with the following features and tools:
- [An SVG view helper][svg]: Output inline SVG's in your views,
e.g. `<%= svg("logo") %>`.
- [CircleCI]: Continuous integration.
- [AccessLint]: For keeping accessibility issues in check.
- [Hound]: Comments on style violations in GitHub pull requests.
- [Segment]: Analytics API.

Expand All @@ -43,6 +44,7 @@ This template comes with the following features and tools:
[Redcarpet]: https://github.com/vmg/redcarpet
[svg]: https://github.com/thoughtbot/middleman-template/blob/master/helpers/application_helpers.rb#L18-L25
[CircleCI]: https://circleci.com/
[AccessLint]: https://accesslint.com/
[Hound]: https://houndci.com/repos
[Segment]: https://segment.com/

Expand Down
20 changes: 19 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
test:
general:
artifacts:
- "tmp"

machine:
node:
version: 6.1.0

dependencies:
post:
- npm install -g accesslint-cli

compile:
override:
- bundle exec middleman build --verbose

test:
post:
- |
bundle exec middleman server --daemon --port=4567 --watcher-disable && \
bundle exec accesslint-ci scan http://localhost:4567

0 comments on commit bef52b9

Please sign in to comment.