8 # Caching so the next build will be fast too.
12 - $HOME/haskell-ide-engine/dist
13 - $HOME/haskell-ide-engine/dist-newstyle
22 # Download and unpack the stack executable
23 # - mkdir -p ~/.local/bin
24 # - export PATH=$HOME/.local/bin:$PATH
25 # - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
29 - mkdir -p haskell-ide-engine
30 - cd haskell-ide-engine
32 - git remote add origin https://github.com/Bubba/haskell-ide-engine.git
33 - git pull origin heirarchal-document-symbols
36 - git submodule update
39 - export PATH=$HOME/haskell-ide-engine/dist-newstyle/build/*/ghc-*/haskell-ide-engine-*/c/hie/build/hie/hie:$PATH
40 # - export PATH=$HOME/haskell-ide-engine/dist-newstyle/build/*/ghc-*/haskell-ide-engine-*/x/hie/build:$PATH
41 # - stack --no-terminal --skip-ghc-check install -j2
42 # - stack exec hoogle generate
43 # - cabal install happy hoogle
45 - cd $TRAVIS_BUILD_DIR
47 - npm i -g javascript-typescript-langserver
50 - cabal configure --enable-tests --enable-coverage
52 - cabal test --show-details=streaming
54 - cabal install codecov-haskell
55 - codecov-haskell [options] tests