Skip to content

Commit

Permalink
Add Travis CI checking coala
Browse files Browse the repository at this point in the history
Remove checking of whitespace for JavaScript,
as there are large numbers of errors.
Ignore more vendor and generated files
so that coala-ci is green.

Closes coala#248
  • Loading branch information
jayvdb committed Nov 18, 2017
1 parent 450b2a4 commit a82abb7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .coafile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[global]
bears = coalaBear
files = **.yml, **.html, **.md, **.js, **.css
ignore = vendors/**
ignore = vendors/**, components/**

[linecount]
files = **.yml, **.html, **.md, **.js
Expand All @@ -11,15 +11,17 @@ max_lines_per_file = 600

[spacing]
bears = SpaceConsistencyBear
files = **.html, **.css, **.js
files = **.html, **.css
ignore = vendors/**, components/**
use_spaces = True

[html]
bears = HTMLLintBear
files = **.html
htmllint_ignore = optional_tag, protocol, indentation, concerns_separation, capitalization
ignore = vendors/**, components/**

[yml]
bears = YAMLLintBear
files = **.yml
ignore = vendors/**, components/**
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
services: docker
language: generic
sudo: false

script:
- docker run -v=$(pwd):/app --workdir=/app coala/base coala --ci

0 comments on commit a82abb7

Please sign in to comment.