Bump up the number of jobs when building hie in travis
[opengl.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/haskell/haskell-ide-engine.git --recursive
18   - cd haskell-ide-engine
19   - git checkout c34c08eeced8173983601e98304258075f3057e1
20   - stack --no-terminal --skip-ghc-check install -j2
21   - stack exec hoogle generate
22   - cd ..
23
24 script:
25   - stack --no-terminal --skip-ghc-check test