- - git remote add origin https://github.com/Bubba/haskell-ide-engine.git
- - git pull origin heirarchal-document-symbols
- - git submodule init
- - git submodule sync
- - git submodule update
- # - cabal new-update
- # - cabal new-configure
- # - cabal new-build
- # - export PATH=$HOME/haskell-ide-engine/dist-newstyle/build/*/ghc-*/haskell-ide-engine-*/x/hie/build:$PATH
- - stack --no-terminal --skip-ghc-check install -j2
- - stack exec hoogle generate
- - cd $TRAVIS_BUILD_DIR
+- git remote add origin https://github.com/haskell/haskell-ide-engine.git
+- git pull origin master
+- git checkout abdb097f39e135deaf321a604c95f16cbda32678
+- git submodule update --init
+- cabal v2-update
+- cabal --version
+- |
+ if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
+ cabal v2-install hie -j2 --overwrite-policy=always --install-method=copy --installdir=~/.cabal/bin
+ else
+ cabal v2-install hie -j2 --overwrite-policy=always
+ fi
+- |
+ if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
+ cabal v2-install hoogle -j2 --overwrite-policy=always --install-method=copy --installdir=~/.cabal/bin
+ else
+ cabal v2-install hoogle -j2 --overwrite-policy=always
+ fi
+- hoogle generate
+- popd
+# needs to be old-install for cabal-helper to find it
+- cabal install Cabal --constraint "Cabal == 2.4.1.0"