From a82abb78b095ddd37163ce05a694b74e9969be00 Mon Sep 17 00:00:00 2001
From: John Vandenberg <jayvdb@gmail.com>
Date: Sat, 18 Nov 2017 10:47:30 +0700
Subject: [PATCH] Add Travis CI checking coala

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 https://github.com/coala/landing-frontend/issues/248
---
 .coafile    | 6 ++++--
 .travis.yml | 6 ++++++
 2 files changed, 10 insertions(+), 2 deletions(-)
 create mode 100644 .travis.yml

diff --git a/.coafile b/.coafile
index 04f613e..b8ed85a 100644
--- a/.coafile
+++ b/.coafile
@@ -1,7 +1,7 @@
 [global]
 bears = coalaBear
 files = **.yml, **.html, **.md, **.js, **.css
-ignore = vendors/**
+ignore = vendors/**, components/**
 
 [linecount]
 files = **.yml, **.html, **.md, **.js
@@ -11,7 +11,7 @@ max_lines_per_file = 600
 
 [spacing]
 bears = SpaceConsistencyBear
-files = **.html, **.css, **.js
+files = **.html, **.css
 ignore = vendors/**, components/**
 use_spaces = True
 
@@ -19,7 +19,9 @@ use_spaces = True
 bears = HTMLLintBear
 files = **.html
 htmllint_ignore = optional_tag, protocol, indentation, concerns_separation, capitalization
+ignore = vendors/**, components/**
 
 [yml]
 bears = YAMLLintBear
 files = **.yml
+ignore = vendors/**, components/**
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..e408e3f
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,6 @@
+services: docker
+language: generic
+sudo: false
+
+script:
+  - docker run -v=$(pwd):/app --workdir=/app coala/base coala --ci