Add root directory swapping
[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   - stack install
20   - cd ..
21
22 script:
23   - stack --no-terminal --skip-ghc-check test