commit fd5f44366f0392488d3c598e4e2e2a10637ff459 parent 6821136941e1a4ab771800ed8738d1f4563deaec Author: Jared Tobin <jared@jtobin.ca> Date: Fri, 4 Mar 2016 09:54:53 +1300 Travis stuff. Diffstat:
M | .travis.yml | | | 7 | ++++--- |
A | stack-travis.yaml | | | 8 | ++++++++ |
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml @@ -1,5 +1,5 @@ sudo: false -language: haskell +language: c addons: apt: @@ -7,15 +7,16 @@ addons: - libgmp-dev env: -- ARGS="--resolver lts-5.1" + 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 $ARGS --no-terminal --install-ghc test --haddock +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: {} +packages: +- '.' +extra-deps: [] +resolver: lts-5.1 +compiler: ghc-7.10.3 +system-ghc: false +install-ghc: true