diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..f6ab2eb
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,5 @@
+script:
+ - "test/travis.rb"
+language: ruby
+before_install:
+ - gem install sass
diff --git a/README.md b/README.md
index b5b31cc..567aec1 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# csswizardry-grids
+# csswizardry-grids [![Build Status](https://travis-ci.org/csswizardry/csswizardry-grids.svg?branch=master)](https://travis-ci.org/csswizardry/csswizardry-grids)
**Simple, fluid, nestable, flexible, Sass-based, responsive grid system.**
@@ -90,15 +90,15 @@ If you are using traditional classes then an example, basic usage might look
like this:
It’s as simple as that!
@@ -127,15 +127,15 @@ If you are using silent classes (`$use-silent-classes: true;`) then your HTML
might look like this:
…and your Sass, something like this:
@@ -143,18 +143,18 @@ might look like this:
.page{
@extend %grid;
}
-
+
.content,
.sub-content{
@extend %grid__item;
@extend %one-whole;
@extend %lap--one-half;
}
-
+
.content{
@extend %desk--two-thirds;
}
-
+
.sub-content{
@extend %desk--one-third;
}
diff --git a/test/silent.scss b/test/silent.scss
new file mode 100644
index 0000000..8c56c37
--- /dev/null
+++ b/test/silent.scss
@@ -0,0 +1,2 @@
+$use-silent-classes: true;
+@import '../csswizardry-grids';
diff --git a/test/travis.rb b/test/travis.rb
new file mode 100755
index 0000000..4525b58
--- /dev/null
+++ b/test/travis.rb
@@ -0,0 +1,10 @@
+#!/usr/bin/env ruby
+
+result = `sass csswizardry-grids.scss build.css`
+raise result unless $?.to_i == 0
+puts "Regular sass compiled successfully"
+
+result = `sass test/silent.scss build.silent.css --style compressed`
+raise result unless $?.to_i == 0
+raise "When $use-silent-classes is set to true the module should not output any CSS" unless File.size('build.silent.css') == 0
+puts "Silent sass compiled successfully"