Only install coveralls when used.
diff --git a/.travis.yml b/.travis.yml
index 2bda14d..543b033 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -65,10 +65,10 @@
       - cscope
 
 before_install:
-  - pip install --user cpp-coveralls
+  - if [ "$COVERAGE" = "yes" ]; then pip install --user cpp-coveralls; fi
     # needed for https support for coveralls
-    # building cffi only works sith gcc, not with clang
-  - CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1
+    # building cffi only works with gcc, not with clang
+  - if [ "$COVERAGE" = "yes" ]; then CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1; fi
     # Lua is not installed on Travis OSX
   - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install lua; export LUA_PREFIX=/usr/local; fi