Overwrite
[lsp-test.git] / .travis.yml
index 82aae08b7b844fc4216ecc58b742672ac98847b6..9d8e610da41329923572c8212fd263bd58536cf5 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
@@ -27,11 +28,11 @@ before_install:
 - git pull origin master
 - git checkout abdb097f39e135deaf321a604c95f16cbda32678
 - git submodule update --init
-- cabal v2-install hie -j2
-- cabal v2-install hoogle -j2
+- cabal v2-install hie -j2 --overwrite-policy=always
+- cabal v2-install hoogle -j2 --overwrite-policy=always
 - hoogle generate
-- cabal v2-install --lib Cabal
 - cd $TRAVIS_BUILD_DIR
+- cabal install 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
-