2016-04-27 21:32:24 +03:00
|
|
|
sudo: false
|
|
|
|
language: c
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libgmp-dev
|
|
|
|
env:
|
2020-02-11 20:19:52 +03:00
|
|
|
- ARGS=""
|
2016-04-27 21:32:24 +03:00
|
|
|
before_install:
|
|
|
|
- mkdir -p ~/.local/bin
|
|
|
|
- export PATH=$HOME/.local/bin:$PATH
|
|
|
|
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
|
2016-04-27 21:36:41 +03:00
|
|
|
script:
|
2020-02-17 09:57:18 +03:00
|
|
|
- sudo apt-get install texlive texlive-xetex
|
2016-04-27 21:54:02 +03:00
|
|
|
- stack $ARGS --no-terminal --install-ghc build
|
2016-04-27 22:01:54 +03:00
|
|
|
- stack $ARGS --no-terminal --install-ghc ghc includes.hs -- -o includes
|
2020-02-17 10:15:33 +03:00
|
|
|
- stack $ARGS --no-terminal --install-ghc exec make html
|
2020-02-13 10:00:15 +03:00
|
|
|
# Run the example test suite
|
|
|
|
- cd src && bash ./ci
|
2016-04-27 21:32:24 +03:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.stack
|
2020-02-11 20:19:52 +03:00
|
|
|
- .stack-work
|