5 # Caching so the next build will be fast too.
16 # Download and unpack the stack executable
17 - mkdir -p ~/.local/bin
18 - export PATH=$HOME/.local/bin:$PATH
19 - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
23 - git clone https://github.com/Bubba/haskell-ide-engine.git --recursive
24 - cd haskell-ide-engine
25 - git checkout import-code-actions
26 - git submodule update
27 - stack --no-terminal --skip-ghc-check install -j2
28 - stack exec hoogle generate
30 - npm i -g javascript-typescript-langserver
33 - stack --no-terminal --skip-ghc-check test