Skip to content

Commit cd9daa5

Browse files
committed
Drop GHC 7
1 parent bfb1f55 commit cd9daa5

File tree

6 files changed

+8
-22
lines changed

6 files changed

+8
-22
lines changed

.travis.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@ jobs:
5454
- compiler: ghc-8.0.2
5555
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-8.0.2","cabal-install-3.2"]}}
5656
os: linux
57-
- compiler: ghc-7.10.3
58-
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-7.10.3","cabal-install-3.2"]}}
59-
os: linux
60-
- compiler: ghc-7.8.4
61-
addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu xenial main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-7.8.4","cabal-install-3.2"]}}
62-
os: linux
6357
before_install:
6458
- HC=$(echo "/opt/$CC/bin/ghc" | sed 's/-/\//')
6559
- WITHCOMPILER="-w $HC"
@@ -195,11 +189,11 @@ script:
195189
# Constraint set servant-0.14
196190
- if [ $HCNUMVER -lt 80800 ] ; then ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.14.*' all ; fi
197191
# Constraint set servant-0.15
198-
- if [ $HCNUMVER -ge 80000 ] && [ $HCNUMVER -lt 80800 ] ; then ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.15.*' all ; fi
192+
- if [ $HCNUMVER -lt 80800 ] ; then ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.15.*' all ; fi
199193
# Constraint set servant-0.16
200-
- if [ $HCNUMVER -ge 80000 ] && [ $HCNUMVER -lt 81000 ] ; then ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.16.*' all ; fi
194+
- if [ $HCNUMVER -lt 81000 ] ; then ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.16.*' all ; fi
201195
# Constraint set servant-0.17
202-
- if [ $HCNUMVER -ge 80000 ] && [ $HCNUMVER -lt 81000 ] ; then ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.17.*' all ; fi
196+
- if [ $HCNUMVER -lt 81000 ] ; then ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.17.*' all ; fi
203197

204198
# REGENDATA ("0.10.3",["--output",".travis.yml","--config=cabal.haskell-ci","cabal.project"])
205199
# EOF

servant-swagger-ui-core/servant-swagger-ui-core.cabal

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ license: BSD3
2020
license-file: LICENSE
2121
build-type: Simple
2222
tested-with:
23-
GHC ==7.8.4
24-
|| ==7.10.3
25-
|| ==8.0.2
23+
GHC ==8.0.2
2624
|| ==8.2.2
2725
|| ==8.4.4
2826
|| ==8.6.5

servant-swagger-ui-example/servant-swagger-ui-example.cabal

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ license: BSD3
1414
license-file: LICENSE
1515
build-type: Simple
1616
tested-with:
17-
GHC ==7.8.4
18-
|| ==7.10.3
19-
|| ==8.0.2
17+
GHC ==8.0.2
2018
|| ==8.2.2
2119
|| ==8.4.4
2220
|| ==8.6.5

servant-swagger-ui-jensoleg/servant-swagger-ui-jensoleg.cabal

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ license: BSD3
1919
license-file: LICENSE
2020
build-type: Simple
2121
tested-with:
22-
GHC ==7.8.4
23-
|| ==7.10.3
24-
|| ==8.0.2
22+
GHC ==8.0.2
2523
|| ==8.2.2
2624
|| ==8.4.4
2725
|| ==8.6.5

servant-swagger-ui-redoc/servant-swagger-ui-redoc.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ license: BSD3
1919
license-file: LICENSE
2020
build-type: Simple
2121
tested-with:
22-
GHC ==7.8.4 || ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.2
22+
GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.2
2323

2424
extra-source-files:
2525
redoc-dist-1.22.3/redoc.min.js

servant-swagger-ui/servant-swagger-ui.cabal

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ license: BSD3
1818
license-file: LICENSE
1919
build-type: Simple
2020
tested-with:
21-
GHC ==7.8.4
22-
|| ==7.10.3
23-
|| ==8.0.2
21+
GHC ==8.0.2
2422
|| ==8.2.2
2523
|| ==8.4.4
2624
|| ==8.6.5

0 commit comments

Comments
 (0)