File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,15 @@ script:
72
72
# this builds all libraries and executables (without tests/benchmarks)
73
73
- rm -f cabal.project.freeze
74
74
- cabal new-build -w ${HC} --disable-tests --disable-benchmarks
75
+
76
+ # Build with various constraints
77
+ - if [ $HC = "ghc-8.0.2" ]; then UNLESSGHC802=true; fi
78
+ - $UNLESSGHC802 cabal new-build -w ${HC} --disable-tests --disable-benchmarks "--constraint=servant==0.5.*"
79
+ - $UNLESSGHC802 cabal new-build -w ${HC} --disable-tests --disable-benchmarks "--constraint=servant==0.6.*"
80
+ - $UNLESSGHC802 cabal new-build -w ${HC} --disable-tests --disable-benchmarks "--constraint=servant==0.7.*"
81
+ - cabal new-build -w ${HC} --disable-tests --disable-benchmarks "--constraint=servant==0.8.*"
82
+ - cabal new-build -w ${HC} --disable-tests --disable-benchmarks "--constraint=servant==0.9.*"
83
+
75
84
# this builds all libraries and executables (including tests/benchmarks)
76
85
# - rm -rf ./dist-newstyle
77
86
- cabal new-build -w ${HC} ${TEST} ${BENCH}
You can’t perform that action at this time.
0 commit comments