Decode responses to the correct type
[lsp-test.git] / .travis.yml
1 language: c
2
3 sudo: false
4
5 # Caching so the next build will be fast too.
6 cache:
7   directories:
8   - $HOME/.stack
9
10 before_install:
11   # Download and unpack the stack executable
12   - mkdir -p ~/.local/bin
13   - export PATH=$HOME/.local/bin:$PATH
14   - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
15
16 install:
17   - git clone https://github.com/Bubba/haskell-ide-engine.git --recursive
18   - cd haskell-ide-engine
19   - git checkout 377157dad7641c2c63e8b554a46a4888dca48721
20   - stack --no-terminal --skip-ghc-check install -j1
21   - stack exec hoogle generate
22   - cd ..
23
24 script:
25   - stack --no-terminal --skip-ghc-check test