env for all, apt only for linux
authorMoritz Angermann <moritz.angermann@gmail.com>
Wed, 6 Jan 2016 04:15:00 +0000 (12:15 +0800)
committerMoritz Angermann <moritz.angermann@gmail.com>
Wed, 6 Jan 2016 04:15:00 +0000 (12:15 +0800)
.travis.yml

index 0a85228..0a8f49a 100644 (file)
@@ -4,24 +4,20 @@ os:
     - linux
     - osx
 
-matrix:
-    include:
-        - env:
-            CABALVER=1.22
-            GHCVER=7.10.3
-
-          addons: {
-              apt: {
-                  packages: [
-                      ghc-7.10.3,
-                      alex-3.1.4,
-                      happy-1.19.5,
-                      cabal-install-1.22,
-                      zlib1g-dev
-                  ],
-                  sources: [hvr-ghc]
-              }
-          }
+env:
+    - CABALVER=1.22
+    - GHCVER=7.10.3
+
+addons:
+    linux:
+        apt:
+            packages:
+                - ghc-7.10.3,
+                - alex-3.1.4,
+                - happy-1.19.5,
+                - cabal-install-1.22,
+                - zlib1g-dev
+            sources: hvr-ghc
 
 before_install: