run cabal update
authorMoritz Angermann <moritz.angermann@gmail.com>
Wed, 6 Jan 2016 04:55:41 +0000 (12:55 +0800)
committerMoritz Angermann <moritz.angermann@gmail.com>
Wed, 6 Jan 2016 04:55:41 +0000 (12:55 +0800)
.travis.yml

index 72e2f80..b21b89e 100644 (file)
@@ -19,6 +19,7 @@ addons:
 before_install:
     - if [ $TRAVIS_OS_NAME == osx ]; then brew update; fi
     - if [ $TRAVIS_OS_NAME == osx ]; then brew install ghc cabal-install; fi
+    - if [ $TRAVIS_OS_NAME == osx ]; then cabal update; fi
     - if [ $TRAVIS_OS_NAME == osx ]; then cabal install alex happy; fi
     - if [ $TRAVIS_OS_NAME == linux ]; then PATH="/opt/ghc/$GHCVER/bin:$PATH"; fi
     - if [ $TRAVIS_OS_NAME == linux ]; then PATH="/opt/cabal/$CABALVER/bin:$PATH"; fi