Add .travis.yml
[opengl.git] / .travis.yml
1 language: haskell
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 script:
17   - stack --no-terminal --skip-ghc-check test