[commit: ghc] wip/nfs-locking: Can we install ghc and cabal through homebrew on os x? (3ea7037)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:56:13 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/3ea7037adc5e9b0592df20d44d4269097706fe5e/ghc

>---------------------------------------------------------------

commit 3ea7037adc5e9b0592df20d44d4269097706fe5e
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date:   Wed Jan 6 12:26:12 2016 +0800

    Can we install ghc and cabal through homebrew on os x?


>---------------------------------------------------------------

3ea7037adc5e9b0592df20d44d4269097706fe5e
 .travis.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 13a70d2..33c4c3e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,6 +18,10 @@ addons:
         sources: hvr-ghc
 
 before_install:
+    osx:
+        - brew update
+        - brew outdated ghc || brew upgrade ghc
+        - brew outdated cabal-install || brew upgrade cabal-install
 
     - PATH="$HOME/.cabal/bin:$PATH"
     - PATH="/opt/ghc/$GHCVER/bin:$PATH"



More information about the ghc-commits mailing list