Remove capabilites since haskell-lsp now provides it
[opengl.git] / .travis.yml
1 # language: haskell
2 # ghc:
3 #   - "8.2.2"
4 #   - "8.4.2"
5 language: c
6
7 sudo: false
8
9 # Caching so the next build will be fast too.
10 cache:
11   directories:
12   - $HOME/.stack
13   - $HOME/haskell-ide-engine/.stack-work
14
15 addons:
16   apt:
17     packages:
18     - npm
19
20 before_install:
21   # Download and unpack the stack executable
22   - mkdir -p ~/.local/bin
23   - export PATH=$HOME/.local/bin:$PATH
24   - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
25     
26   - cd $HOME
27   # It's ok to fail
28   - cd haskell-ide-engine
29   - git init
30   - git remote add origin https://github.com/haskell/haskell-ide-engine.git
31   - git pull origin master
32   - git submodule init
33   - git submodule sync
34   - git submodule update
35   # - cabal new-update
36   # - cabal new-configure
37   # - cabal new-build
38   # - export PATH=$HOME/haskell-ide-engine/dist-newstyle/build/*/ghc-*/haskell-ide-engine-*/x/hie/build:$PATH
39   - stack --no-terminal --skip-ghc-check install -j2
40   - stack exec hoogle generate
41   - cd $TRAVIS_BUILD_DIR
42   - npm update
43   - npm i -g javascript-typescript-langserver
44
45 script:
46  - stack test
47   # - cabal configure --enable-tests
48   # - cabal test -j2 --show-details=streaming