Bump stack resolver
[opengl.git] / .travis.yml
1 language: haskell
2
3 ghc:
4   - "8.2.2"
5   - "8.4.2"
6
7 sudo: false
8
9 # Caching so the next build will be fast too.
10 cache:
11   directories:
12   - $HOME/.stack
13
14 addons:
15   apt:
16     packages:
17     - npm
18
19 before_install:
20   # Download and unpack the stack executable
21   - mkdir -p ~/.local/bin
22   - export PATH=$HOME/.local/bin:$PATH
23   - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
24     
25   - git clone https://github.com/haskell/haskell-ide-engine.git --recursive
26   - cd haskell-ide-engine
27   - git submodule sync
28   - git submodule update
29   # - cabal new-update
30   # - cabal new-configure
31   # - cabal new-build
32   # - export PATH=dist-newstyle/build/*/ghc-*/haskell-ide-engine-*/x/hie/build:$PATH
33   - stack --no-terminal --skip-ghc-check install -j2
34   - stack exec hoogle generate
35   - cd ..
36   - npm update
37   - npm i -g javascript-typescript-langserver
38
39 # script:
40 #   - stack --no-terminal --skip-ghc-check test