@@ -32,21 +32,21 @@ before_cache:
32
32
33
33
matrix :
34
34
include :
35
- - compiler : " ghc-7. 8.4"
35
+ - compiler : " ghc-8.4.3 "
36
36
# env: TEST=--disable-tests BENCH=--disable-benchmarks
37
- addons : {apt: {packages: [ghc-ppa-tools,cabal-install-head ,ghc-7. 8.4], sources: [hvr-ghc]}}
38
- - compiler : " ghc-7.10.3 "
37
+ addons : {apt: {packages: [ghc-ppa-tools,cabal-install-2.2 ,ghc-8.4.3 ], sources: [hvr-ghc]}}
38
+ - compiler : " ghc-8.2.2 "
39
39
# env: TEST=--disable-tests BENCH=--disable-benchmarks
40
- addons : {apt: {packages: [ghc-ppa-tools,cabal-install-head ,ghc-7.10.3 ], sources: [hvr-ghc]}}
40
+ addons : {apt: {packages: [ghc-ppa-tools,cabal-install-2.2 ,ghc-8.2.2 ], sources: [hvr-ghc]}}
41
41
- compiler : " ghc-8.0.2"
42
42
# env: TEST=--disable-tests BENCH=--disable-benchmarks
43
- addons : {apt: {packages: [ghc-ppa-tools,cabal-install-head ,ghc-8.0.2], sources: [hvr-ghc]}}
44
- - compiler : " ghc-8.2.2 "
43
+ addons : {apt: {packages: [ghc-ppa-tools,cabal-install-2.2 ,ghc-8.0.2], sources: [hvr-ghc]}}
44
+ - compiler : " ghc-7.10.3 "
45
45
# env: TEST=--disable-tests BENCH=--disable-benchmarks
46
- addons : {apt: {packages: [ghc-ppa-tools,cabal-install-head ,ghc-8.2.2 ], sources: [hvr-ghc]}}
47
- - compiler : " ghc-8.4.2 "
46
+ addons : {apt: {packages: [ghc-ppa-tools,cabal-install-2.2 ,ghc-7.10.3 ], sources: [hvr-ghc]}}
47
+ - compiler : " ghc-7. 8.4"
48
48
# env: TEST=--disable-tests BENCH=--disable-benchmarks
49
- addons : {apt: {packages: [ghc-ppa-tools,cabal-install-head ,ghc-8.4.2 ], sources: [hvr-ghc]}}
49
+ addons : {apt: {packages: [ghc-ppa-tools,cabal-install-2.2 ,ghc-7. 8.4], sources: [hvr-ghc]}}
50
50
51
51
before_install :
52
52
- HC=${CC}
@@ -127,18 +127,25 @@ script:
127
127
- rm -rf ./dist-newstyle
128
128
- if $HADDOCK; then cabal new-haddock -w ${HC} ${TEST} ${BENCH} all; else echo "Skipping haddock generation";fi
129
129
130
+ # Constraint set servant-0.7
130
131
- if [ $HCNUMVER -ge 70800 ] && [ $HCNUMVER -lt 80000 ]; then cabal new-build -w ${HC} --disable-tests --disable-benchmarks --constraint='servant ==0.7.*' all; else echo skipping...; fi
131
132
133
+ # Constraint set servant-0.8
132
134
- if [ $HCNUMVER -ge 70800 ] && [ $HCNUMVER -lt 80200 ]; then cabal new-build -w ${HC} --disable-tests --disable-benchmarks --constraint='servant ==0.8.*' all; else echo skipping...; fi
133
135
136
+ # Constraint set servant-0.9
134
137
- if [ $HCNUMVER -ge 70800 ] && [ $HCNUMVER -lt 80200 ]; then cabal new-build -w ${HC} --disable-tests --disable-benchmarks --constraint='servant ==0.9.*' all; else echo skipping...; fi
135
138
139
+ # Constraint set servant-0.10
136
140
- if [ $HCNUMVER -ge 70800 ] && [ $HCNUMVER -lt 80200 ]; then cabal new-build -w ${HC} --disable-tests --disable-benchmarks --constraint='servant ==0.10.*' all; else echo skipping...; fi
137
141
142
+ # Constraint set servant-0.11
138
143
- if [ $HCNUMVER -ge 70800 ] && [ $HCNUMVER -lt 80400 ]; then cabal new-build -w ${HC} --disable-tests --disable-benchmarks --constraint='servant ==0.11.*' all; else echo skipping...; fi
139
144
145
+ # Constraint set servant-0.12
140
146
- if [ $HCNUMVER -ge 70800 ] && [ $HCNUMVER -lt 80400 ]; then cabal new-build -w ${HC} --disable-tests --disable-benchmarks --constraint='servant ==0.12.*' all; else echo skipping...; fi
141
147
148
+ # Constraint set servant-0.13
142
149
- if [ $HCNUMVER -ge 70800 ] && [ $HCNUMVER -lt 80600 ]; then cabal new-build -w ${HC} --disable-tests --disable-benchmarks --constraint='servant ==0.13.*' all; else echo skipping...; fi
143
150
144
151
# REGENDATA ["--branch","master","--output",".travis.yml","--config","cabal.project"]
0 commit comments