Support servant-0.15

This commit is contained in:
Oleg Grenrus 2018-11-13 00:14:16 +02:00
parent 129ad91ae5
commit a6581c45a7
6 changed files with 17 additions and 10 deletions

View File

@ -136,7 +136,10 @@ script:
- rm -rf cabal.project.local
# Constraint set servant-0.14
- if [ $HCNUMVER -ge 70800 ] && [ $HCNUMVER -lt 80600 ]; then cabal new-build -w ${HC} --disable-tests --disable-benchmarks --constraint='servant ==0.14.*' all; else echo skipping...; fi
- if [ $HCNUMVER -ge 70800 ] && [ $HCNUMVER -lt 80800 ]; then cabal new-build -w ${HC} --disable-tests --disable-benchmarks --constraint='servant ==0.14.*' all; else echo skipping...; fi
# Constraint set servant-0.15
- if [ $HCNUMVER -ge 80000 ] && [ $HCNUMVER -lt 80800 ]; then cabal new-build -w ${HC} --disable-tests --disable-benchmarks --constraint='servant ==0.15.*' all; else echo skipping...; fi
# REGENDATA ["--branch","master","--output",".travis.yml","--config","cabal.project"]

View File

@ -1,3 +1,7 @@
constraint-set servant-0.14
ghc: >= 7.8 && <8.6
ghc: >= 7.8 && <8.8
constraints: servant ==0.14.*
constraint-set servant-0.15
ghc: >= 8.0 && <8.8
constraints: servant ==0.15.*

View File

@ -35,9 +35,9 @@ library
, blaze-markup >=0.7.0.2 && <0.9
, bytestring >=0.10.4.0 && <0.11
, http-media >=0.7.1.3 && <0.8
, servant >=0.14 && <0.15
, servant >=0.14 && <0.16
, servant-blaze >=0.8 && <0.9
, servant-server >=0.14 && <0.15
, servant-server >=0.14 && <0.16
, swagger2 >=2.3.0.1 && <2.4
, text >=1.2.3.0 && <1.3
, transformers >=0.3 && <0.6

View File

@ -85,8 +85,8 @@ library
base >=4.7 && <4.13
, bytestring >=0.10.4.0 && <0.11
, file-embed-lzma >=0 && <0.1
, servant >=0.14 && <0.15
, servant-server >=0.14 && <0.15
, servant >=0.14 && <0.16
, servant-server >=0.14 && <0.16
, swagger2 >=2.3.0.1 && <2.4
, text >=1.2.3.0 && <1.3
exposed-modules:

View File

@ -39,8 +39,8 @@ library
base >=4.7 && <4.13
, bytestring >=0.10.4.0 && <0.11
, file-embed-lzma >=0 && <0.1
, servant >=0.14 && <0.15
, servant-server >=0.14 && <0.15
, servant >=0.14 && <0.16
, servant-server >=0.14 && <0.16
, swagger2 >=2.3.0.1 && <2.4
, text >=1.2.3.0 && <1.3
exposed-modules:

View File

@ -45,8 +45,8 @@ library
base >=4.7 && <4.13
, bytestring >=0.10.4.0 && <0.11
, file-embed-lzma >=0 && <0.1
, servant >=0.14 && <0.15
, servant-server >=0.14 && <0.15
, servant >=0.14 && <0.16
, servant-server >=0.14 && <0.16
, swagger2 >=2.3.0.1 && <2.4
, text >=1.2.3.0 && <1.3
exposed-modules: