From a652628fb8db0c9f9e5bd51d866f2b49d10c12c9 Mon Sep 17 00:00:00 2001 From: Michael Walker Date: Mon, 7 Aug 2017 21:35:45 +0100 Subject: [PATCH] [travis] Only build with latest LTS for each supported GHC version --- .travis.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index fff1842..8f92fdf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,21 +10,15 @@ cache: - $HOME/.cabal - $HOME/.stack -# Build matrix configuration +# Goal: support latest 3 GHC major versions. matrix: include: - - env: RESOLVER="lts-3" + - env: RESOLVER="lts-6" # GHC 7.10 addons: {apt: {packages: [libgmp-dev]}} - - env: RESOLVER="lts-4" - addons: {apt: {packages: [libgmp-dev]}} - - env: RESOLVER="lts-5" - addons: {apt: {packages: [libgmp-dev]}} - - env: RESOLVER="lts-6" - addons: {apt: {packages: [libgmp-dev]}} - - env: RESOLVER="lts-7" - addons: {apt: {packages: [libgmp-dev]}} - - env: RESOLVER="lts-8" + - env: RESOLVER="lts-9" # GHC 8.0 addons: {apt: {packages: [libgmp-dev]}} + # - env: RESOLVER="lts-X" # GHC 8.2 + # addons: {apt: {packages: [libgmp-dev]}} - env: RESOLVER="nightly" addons: {apt: {packages: [libgmp-dev]}}