9 # Caching so the next build will be fast too.
20 # Download and unpack the stack executable
21 - mkdir -p ~/.local/bin
22 - export PATH=$HOME/.local/bin:$PATH
23 - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
25 - git clone https://github.com/haskell/haskell-ide-engine.git --recursive
26 - cd haskell-ide-engine
28 - git submodule update
30 # - cabal new-configure
32 # - export PATH=dist-newstyle/build/*/ghc-*/haskell-ide-engine-*/x/hie/build:$PATH
33 - stack --no-terminal --skip-ghc-check install -j2
34 - stack exec hoogle generate
37 - npm i -g javascript-typescript-langserver