Handle text document change events with VFS
[opengl.git] / .travis.yml
1 language: javascript
2
3 sudo: false
4
5 # Caching so the next build will be fast too.
6 cache:
7   directories:
8   - $HOME/.stack
9
10 addons:
11   apt:
12     packages:
13     - npm
14
15 before_install:
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'
20   - npm update
21
22 install:
23   - git clone https://github.com/Bubba/haskell-ide-engine.git --recursive
24   - cd haskell-ide-engine
25   - git checkout pid-commands
26   - git submodule update
27   - stack --no-terminal --skip-ghc-check install -j2
28   - stack exec hoogle generate
29   - cd ..
30   - npm i -g javascript-typescript-langserver
31
32 script:
33   - stack --no-terminal --skip-ghc-check test