8 # Caching so the next build will be fast too.
14 - $HOME/haskell-ide-engine/.stack-work
24 - mkdir -p ~/.local/bin
25 - export PATH=$HOME/.local/bin:$PATH
26 - 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 - stack config set system-ghc --global true
28 # - export PATH=/opt/ghc/8.4.3/bin:$PATH
29 # - sh .download-hie.sh
30 # - export PATH=$TRAVIS_BUILD_DIR:$PATH
32 - mkdir -p haskell-ide-engine
33 - cd $HOME/haskell-ide-engine
35 - git remote add origin https://github.com/haskell/haskell-ide-engine.git
36 - git pull origin master
37 - stack --no-terminal install
38 - cd $TRAVIS_BUILD_DIR
40 # - git submodule init
41 # - git submodule sync
42 # - git submodule update
43 # - cabal new-configure
44 # - cabal new-build -j2
45 # - export PATH=$HOME/haskell-ide-engine/dist-newstyle/build/*/ghc-*/haskell-ide-engine-*/c/hie/build/hie/hie:$PATH
47 - npm i -g javascript-typescript-langserver
51 # - cabal configure --enable-tests --enable-coverage
52 # - cabal test --show-details=streaming