diff --git a/.travis.yml b/.travis.yml index 5efffdc..7160922 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,42 +1,34 @@ -# Use new container infrastructure to enable caching sudo: false +dist: trusty -# Choose a lightweight base image; we provide our own build tools. language: c -# GHC depends on GMP. You can add other dependencies here as well. addons: apt: packages: - libgmp-dev -# The different configurations we want to test. You could also do things like -# change flags or use --stack-yaml to point to a different file. env: - ARGS="--resolver=lts-2" -- ARGS="--resolver=lts-3" - ARGS="--resolver=lts-6" -- ARGS="--resolver=lts-7" -- ARGS="--resolver=lts-8" -- ARGS="" +- ARGS="--resolver=lts-9" - ARGS="--resolver=nightly" before_install: -# Download and unpack the stack executable - 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' -# This line does all of the work: installs GHC if necessary, build the library, -# executables, and test suites, and runs the test suites. --no-terminal works -# around some quirks in Travis's terminal implementation. +install: +- stack --version +- stack $ARGS setup --no-terminal + script: - - stack $ARGS setup - - stack $ARGS init - - stack $ARGS build --haddock --no-haddock-deps - - stack $ARGS sdist +- stack $ARGS init +- stack $ARGS build --haddock --no-haddock-deps +- stack $ARGS test +- stack $ARGS sdist -# Caching so the next build will be fast too. cache: directories: - $HOME/.stack diff --git a/CHANGES.md b/CHANGES.md index 40bf82c..c794f67 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,10 +1,14 @@ Changelog ========= +- [Version 0.7.1.1](https://github.com/zmthy/http-media/releases/tag/v0.7.1.1) + + The bounds for base have been updated to include support for GHC 8.2. + - [Version 0.7.1](https://github.com/zmthy/http-media/releases/tag/v0.7.1) - Travis now tests against a range of Stack LTS environments, instead of - using multi-ghc. + Travis now tests against a range of Stackage LTS environments, instead + of using multi-ghc. Support for base-4.6 has now been correctly removed in the Cabal file. diff --git a/http-media.cabal b/http-media.cabal index 8ced6aa..4ecc0f1 100644 --- a/http-media.cabal +++ b/http-media.cabal @@ -1,5 +1,5 @@ name: http-media -version: 0.7.1 +version: 0.7.1.1 license: MIT license-file: LICENSE author: Timothy Jones