8 # Caching so the next build will be fast too.
12 # - $HOME/haskell-ide-engine/.stack-work
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'
27 - mkdir -p haskell-ide-engine
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
37 # - export PATH=$HOME/haskell-ide-engine/dist-newstyle/build/*/ghc-*/haskell-ide-engine-*/x/hie/build:$PATH
38 - cp `find dist-newstyle/ -name hie -type f | xargs -x ls -t | head -n1` $HOME/.cabal/bin/
39 # - stack --no-terminal --skip-ghc-check install -j2
40 # - stack exec hoogle generate
41 - cabal install hoogle
43 - cd $TRAVIS_BUILD_DIR
45 - npm i -g javascript-typescript-langserver
48 - cabal configure --enable-tests --enable-coverage
49 - cabal test --show-details=streaming