Use cabal-head
[lsp-test.git] / .travis.yml
index 8a6fd8040dc237f0f5f6d54de70af8412d7ee6c5..5da16874d4d842b2bb43c61b42a1d699fcd16214 100644 (file)
@@ -37,10 +37,10 @@ addons:
 before_install:
 - |
   if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
-    choco install ghc cabal nodejs
+    choco install cabal-head -pre
+    choco install ghc nodejs
     /C/ProgramData/chocolatey/bin/RefreshEnv.cmd
     export PATH=/C/ProgramData/chocolatey/lib/ghc/tools/ghc-8.6.5/bin:${PATH}
-    /C/ProgramData/chocolatey/bin/RefreshEnv.cmd
   fi
 # these are taken from the haskell language setup
 - export PATH=/opt/ghc/8.6.5/bin:${PATH}