Whittle down the install steps
[lsp-test.git] / .travis.yml
index bbeb21d8f30444e14abc2527fbc605cac85a9870..53104ff453a8e125edf69e4825f3aaa864b3a60c 100644 (file)
@@ -35,8 +35,12 @@ addons:
     update: true
 
 before_install:
-- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install ghc cabal nodejs; /C/ProgramData/chocolatey/bin/RefreshEnv.cmd; fi
-- export PATH=$HOME/.cabal/bin:$PATH
+- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install ghc; /C/ProgramData/chocolatey/bin/RefreshEnv.cmd; fi
+- ghc --version
+# these are taken from the haskell language setup
+- export PATH=/opt/ghc/8.6.5/bin:${PATH}
+- export PATH=/opt/cabal/2.4/bin:${PATH}
+- export PATH=$HOME/.cabal/bin:${PATH}
 - mkdir -p $HOME/haskell-ide-engine
 - cd $HOME/haskell-ide-engine
 - git init