before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
- choco install cabal -pre
+ 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}