Add ghc/cabal to path on linux
authorLuke Lau <luke_lau@icloud.com>
Sat, 8 Jun 2019 17:41:39 +0000 (18:41 +0100)
committerLuke Lau <luke_lau@icloud.com>
Sat, 8 Jun 2019 19:17:15 +0000 (20:17 +0100)
.travis.yml

index bbeb21d8f30444e14abc2527fbc605cac85a9870..b35a504feb31fd7b059f97dad08b83368a3703c4 100644 (file)
@@ -36,6 +36,9 @@ addons:
 
 before_install:
 - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install ghc cabal nodejs; /C/ProgramData/chocolatey/bin/RefreshEnv.cmd; fi
+# 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