9 # Caching so the next build will be fast too.
13 - $HOME/haskell-ide-engine
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 - git clone https://github.com/haskell/haskell-ide-engine.git --recursive || true
29 - cd haskell-ide-engine
32 - git submodule update
34 # - cabal new-configure
36 # - export PATH=$HOME/haskell-ide-engine/dist-newstyle/build/*/ghc-*/haskell-ide-engine-*/x/hie/build:$PATH
37 - stack --no-terminal --skip-ghc-check install -j2
38 - stack exec hoogle generate
39 - cd $TRAVIS_BUILD_DIR
41 - npm i -g javascript-typescript-langserver
46 - cabal configure --enable-tests
47 - cabal test -O2 -j2 --show-details=streaming