Use install.
authorMoritz Angermann <moritz.angermann@gmail.com>
Wed, 6 Jan 2016 04:43:17 +0000 (12:43 +0800)
committerMoritz Angermann <moritz.angermann@gmail.com>
Wed, 6 Jan 2016 04:43:17 +0000 (12:43 +0800)
.travis.yml

index 4a2179d..6e1bf5b 100644 (file)
@@ -19,8 +19,7 @@ addons:
 
 before_install:
     - if [ $TRAVIS_OS_NAME == osx ]; then brew update; fi
-    - if [ $TRAVIS_OS_NAME == osx ]; then brew outdated ghc || brew upgrade ghc; fi
-    - if [ $TRAVIS_OS_NAME == osx ]; then brew outdated cabal-install || brew upgrade cabal-install; fi
+    - if [ $TRAVIS_OS_NAME == osx ]; then brew install ghc cabal-install; fi
 
     - PATH="$HOME/.cabal/bin:$PATH"
     - PATH="/opt/ghc/$GHCVER/bin:$PATH"