9 # Caching so the next build will be fast too.
13 - $HOME/haskell-ide-engine/.stack-work
21 # Download and unpack the stack executable
22 - mkdir -p ~/.local/bin
23 - export PATH=$HOME/.local/bin:$PATH
24 - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
28 - cd haskell-ide-engine
30 - git remote add origin https://github.com/Bubba/haskell-ide-engine.git
31 - git pull origin heirarchal-document-symbols
34 - git submodule update
36 # - cabal new-configure
38 # - export PATH=$HOME/haskell-ide-engine/dist-newstyle/build/*/ghc-*/haskell-ide-engine-*/x/hie/build:$PATH
39 - stack --no-terminal --skip-ghc-check install -j2
40 - stack exec hoogle generate
41 - cd $TRAVIS_BUILD_DIR
43 - npm i -g javascript-typescript-langserver
47 # - cabal configure --enable-tests
48 # - cabal test -j2 --show-details=streaming