commit d5ff6ca6deb065aa6cf630fffe62b3b55db69fdd parent 5c771c515c99390c64e4552524a2ad1f904edecb Author: Jared Tobin <jared@jtobin.ca> Date: Fri, 4 Mar 2016 09:54:16 +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