Clean up supported GHC versions; drop pre-8 support
authorAshley Yakeley <ashley@semantic.org>
Mon, 20 May 2019 06:07:38 +0000 (23:07 -0700)
committerAshley Yakeley <ashley@semantic.org>
Mon, 20 May 2019 06:07:38 +0000 (23:07 -0700)
.travis.yml
time.cabal

index c720b49..6f32ac1 100644 (file)
@@ -10,23 +10,21 @@ before_cache:
   - rm -fv $HOME/.cabal/packages/hackage.haskell.org/build-reports.log
   - rm -fv $HOME/.cabal/packages/hackage.haskell.org/00-index.tar
 
+# Test with the latest version of each X.Y version
 matrix:
   include:
-    - env: CABALVER=1.18 GHCVER=7.8.4
-      compiler: ": #GHC 7.8.4"
-      addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
-    - env: CABALVER=1.22 GHCVER=7.10.3
-      compiler: ": #GHC 7.10.3"
-      addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3], sources: [hvr-ghc]}}
-    - env: CABALVER=1.24 GHCVER=8.0.1
-      compiler: ": #GHC 8.0.1"
-      addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.1], sources: [hvr-ghc]}}
     - env: CABALVER=1.24 GHCVER=8.0.2
-      compiler: ": #GHC 8.0.2"
+      compiler: ": #GHC 8.0.2" # released 2017-01-11
       addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.2], sources: [hvr-ghc]}}
     - env: CABALVER=2.0 GHCVER=8.2.2
-      compiler: ": #GHC 8.2.2"
+      compiler: ": #GHC 8.2.2" # released 2017-11-21
       addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2], sources: [hvr-ghc]}}
+    - env: CABALVER=2.0 GHCVER=8.4.4
+      compiler: ": #GHC 8.4.4" # released 2018-10-14
+      addons: {apt: {packages: [cabal-install-2.0,ghc-8.4.4], sources: [hvr-ghc]}}
+    - env: CABALVER=2.0 GHCVER=8.6.5
+      compiler: ": #GHC 8.6.5" # released 2019-04-23
+      addons: {apt: {packages: [cabal-install-2.0,ghc-8.6.5], sources: [hvr-ghc]}}
 
 before_install:
  - unset CC
index 616bb97..0d8afe7 100644 (file)
@@ -12,7 +12,7 @@ description:    Time, clocks and calendars
 category:       Time
 build-type:     Configure
 cabal-version:  >=1.10
-tested-with:    GHC == 8.0.1, GHC == 7.10.3, GHC == 7.8.4
+tested-with:    GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5
 x-follows-version-policy:
 
 extra-source-files:
@@ -45,7 +45,7 @@ library
     ghc-options: -Wall -fwarn-tabs
     c-sources: lib/cbits/HsTime.c
     build-depends:
-        base >= 4.7 && < 5,
+        base >= 4.9 && < 5,
         deepseq >= 1.1
     if os(windows)
         build-depends: Win32