Add lts build

This commit is contained in:
Victor Denisov 2018-04-28 14:12:53 -07:00
parent e2b0ae39d0
commit 5e08f63f34

View file

@ -11,14 +11,15 @@ env:
#- GHCVER=7.8.4 CABALVER=1.22 MONGO=2.6.12 #- GHCVER=7.8.4 CABALVER=1.22 MONGO=2.6.12
#- GHCVER=7.10.3 CABALVER=1.22 MONGO=2.6.12 #- GHCVER=7.10.3 CABALVER=1.22 MONGO=2.6.12
#- GHCVER=8.0.2 CABALVER=1.24 MONGO=2.6.12 #- GHCVER=8.0.2 CABALVER=1.24 MONGO=2.6.12
- GHCVER=7.10.3 CABALVER=1.22 MONGO=3.0 STACKAGE=6.35 - GHCVER=8.0.2 CABALVER=1.24 MONGO=3.0 STACKAGE=lts-9.21
- GHCVER=8.0.2 CABALVER=1.24 MONGO=3.0 STACKAGE=9.21 - GHCVER=8.2.2 CABALVER=1.24 MONGO=3.0 STACKAGE=lts-11.6
- GHCVER=7.10.3 CABALVER=1.22 MONGO=3.2 STACKAGE=6.35 - GHCVER=8.0.2 CABALVER=1.24 MONGO=3.2 STACKAGE=lts-9.21
- GHCVER=8.0.2 CABALVER=1.24 MONGO=3.2 STACKAGE=9.21 - GHCVER=8.2.2 CABALVER=1.24 MONGO=3.2 STACKAGE=lts-11.6
- GHCVER=7.10.3 CABALVER=1.22 MONGO=3.4 STACKAGE=6.35 - GHCVER=8.0.2 CABALVER=1.24 MONGO=3.4 STACKAGE=lts-9.21
- GHCVER=8.0.2 CABALVER=1.24 MONGO=3.4 STACKAGE=9.21 - GHCVER=8.2.2 CABALVER=1.24 MONGO=3.4 STACKAGE=lts-11.6
- GHCVER=7.10.3 CABALVER=1.22 MONGO=3.6 STACKAGE=6.35 - GHCVER=8.0.2 CABALVER=1.24 MONGO=3.6 STACKAGE=lts-9.21
- GHCVER=8.0.2 CABALVER=1.24 MONGO=3.6 STACKAGE=9.21 - GHCVER=8.2.2 CABALVER=1.24 MONGO=3.6 STACKAGE=lts-11.6
- GHCVER=8.2.2 CABALVER=1.24 MONGO=3.6 STACKAGE=lts
before_install: before_install:
@ -52,7 +53,7 @@ install:
# Install the combined dependencies for this package and all other packages # Install the combined dependencies for this package and all other packages
# needed to reduce conflicts. # needed to reduce conflicts.
- cabal sandbox init - cabal sandbox init
- wget https://www.stackage.org/lts-$STACKAGE/cabal.config - wget https://www.stackage.org/$STACKAGE/cabal.config
- sed -e '/mongoDB/d' cabal.config > cabal.config.new - sed -e '/mongoDB/d' cabal.config > cabal.config.new
- mv cabal.config.new cabal.config - mv cabal.config.new cabal.config
- cabal install --only-dependencies --enable-tests --enable-benchmarks - cabal install --only-dependencies --enable-tests --enable-benchmarks