Update .travis.yml
authorLuke Lau <luke_lau@icloud.com>
Thu, 6 Jun 2019 06:50:28 +0000 (07:50 +0100)
committerLuke Lau <luke_lau@icloud.com>
Sat, 8 Jun 2019 19:16:56 +0000 (20:16 +0100)
.travis.yml

index 82aae08b7b844fc4216ecc58b742672ac98847b6..ac7350d44d77fdca7b417d7a9dfed3aa9e5dcf8f 100644 (file)
@@ -9,6 +9,7 @@ cabal: '2.4'
 cache:
   directories:
   - "$HOME/.cabal"
+  - "$HOME/.ghc"
   - "$HOME/haskell-ide-engine/dist-newstyle"
   - "dist-newstyle"
   timeout: 1000
@@ -30,8 +31,8 @@ before_install:
 - cabal v2-install hie -j2
 - cabal v2-install hoogle -j2
 - hoogle generate
-- cabal v2-install --lib Cabal
 - cd $TRAVIS_BUILD_DIR
+- cabal v2-install --lib Cabal --constraint "Cabal == 2.4.1.0"
 - npm update
 - npm i -g javascript-typescript-langserver
 
@@ -58,4 +59,3 @@ deploy:
       tags: true
       branch: master
       repo: bubba/lsp-test
-