diff --git a/.travis.check.style.sh b/.travis.check.style.sh
new file mode 100755
index 000000000..72d7ac65b
--- /dev/null
+++ b/.travis.check.style.sh
@@ -0,0 +1,3 @@
+echo "checking for lines over 100 characters..."
+find src tests -name '*.rs' | xargs grep '.\{101,\}' && exit 1
+echo "ok"
diff --git a/.travis.yml b/.travis.yml
index a50fd3b3e..c43ad30f5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,7 @@ install:
- . ./.travis.install.deps.sh
script:
+ - ./.travis.check.style.sh
- make CC="$CC" RUSTC="$RUSTC" -j4
- make CC="$CC" RUSTC="$RUSTC" test -j4
diff --git a/src/bin/cargo-compile.rs b/src/bin/cargo-compile.rs
index e327d7e79..2c46d1778 100644
--- a/src/bin/cargo-compile.rs
+++ b/src/bin/cargo-compile.rs
@@ -33,9 +33,14 @@ fn execute(options: Options) -> CliResult