diff --git a/.travis.yml b/.travis.yml
new file mode 100644
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,5 @@
+language: haskell
+ghc:
+ - 7.4
+ - 7.6
+ - 7.8
diff --git a/process-extras.cabal b/process-extras.cabal
--- a/process-extras.cabal
+++ b/process-extras.cabal
@@ -1,5 +1,5 @@
 Name:               process-extras
-Version:            0.3.3.4
+Version:            0.3.3.5
 Synopsis:           Process extras
 Description:        Extra functionality for the Process library
                     <http://hackage.haskell.org/package/process>.
@@ -12,7 +12,7 @@
 Build-type:         Simple
 Cabal-version:      >=1.6
 Extra-source-files:
-  README.md
+  README.md, .travis.yml
 
 source-repository head
   Type:             git
diff --git a/src/System/Process/Common.hs b/src/System/Process/Common.hs
--- a/src/System/Process/Common.hs
+++ b/src/System/Process/Common.hs
@@ -39,7 +39,9 @@
 #else
 import GHC.Generics
 
+#if __GLASGOW_HASKELL__ <= 710
 deriving instance Generic ExitCode
+#endif
 #endif
 
 -- | This instance lets us use DeepSeq's force function on a stream of Chunks.
