commit c811f6b977ffff3a85d1f7ec14c64ecff4c73f1b parent 8462666120b5eb454213bfd9afa4efe7b703dbdb Author: Jared Tobin <jared@jtobin.io> Date: Wed, 30 Jan 2019 17:53:04 +1300 Basic travis setup. Diffstat:
A | .travis.yml | | | 22 | ++++++++++++++++++++++ |
A | stack-travis.yaml | | | 8 | ++++++++ |
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/.travis.yml b/.travis.yml @@ -0,0 +1,22 @@ +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 + diff --git a/stack-travis.yaml b/stack-travis.yaml @@ -0,0 +1,8 @@ +flags: {} +resolver: lts-13.4 +packages: +- . +extra-deps: [] +compiler: ghc-8.6.3 +system-ghc: false +install-ghc: true