commit 766db2dba2af4fd7d497ef72df3d877e8ae63c5c parent 55311a080bede427f5a3169fddf35be4dcf8be36 Author: Jared Tobin <jared@jtobin.ca> Date: Tue, 1 Nov 2016 09:01:41 +1300 Travis. Diffstat:
M | .travis.yml | | | 22 | +++++++++++++++++++++- |
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml @@ -1,2 +1,22 @@ -language: haskell sudo: false +language: c + +addons: + apt: + packages: + - libgmp-dev + +env: + STACK_YAML: stack-travis.yaml + +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' + +script: stack --no-terminal --install-ghc test --haddock + +cache: + directories: + - $HOME/.stack +