Include GHC-8.0.1 in travis build
This commit is contained in:
parent
5dc9222025
commit
afb2fc4eb9
16
.travis.yml
16
.travis.yml
@ -13,12 +13,12 @@ before_cache:
|
|||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- env: CABALVER=1.18 GHCVER=7.8.4
|
- env: CABALVER=1.22 GHCVER=7.10.3
|
||||||
compiler: ": #GHC 7.8.4"
|
compiler: ": #GHC 7.10.3"
|
||||||
addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
|
addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3], sources: [hvr-ghc]}}
|
||||||
- env: CABALVER=1.22 GHCVER=7.10.2
|
- env: CABALVER=1.24 GHCVER=8.0.1
|
||||||
compiler: ": #GHC 7.10.2"
|
compiler: ": #GHC 8.0.1"
|
||||||
addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.2], sources: [hvr-ghc]}}
|
addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.1], sources: [hvr-ghc]}}
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- unset CC
|
- unset CC
|
||||||
@ -38,7 +38,7 @@ install:
|
|||||||
- sed -i -e '1,/^Resolving /d' installplan.txt; cat installplan.txt
|
- sed -i -e '1,/^Resolving /d' installplan.txt; cat installplan.txt
|
||||||
|
|
||||||
# check whether current requested install-plan matches cached package-db snapshot
|
# check whether current requested install-plan matches cached package-db snapshot
|
||||||
- if diff -u installplan.txt $HOME/.cabsnap/installplan.txt;
|
- if diff -u $HOME/.cabsnap/installplan.txt installplan.txt;
|
||||||
then
|
then
|
||||||
echo "cabal build-cache HIT";
|
echo "cabal build-cache HIT";
|
||||||
rm -rfv .ghc;
|
rm -rfv .ghc;
|
||||||
@ -50,7 +50,7 @@ install:
|
|||||||
mkdir -p $HOME/.ghc $HOME/.cabal/lib $HOME/.cabal/share $HOME/.cabal/bin;
|
mkdir -p $HOME/.ghc $HOME/.cabal/lib $HOME/.cabal/share $HOME/.cabal/bin;
|
||||||
cabal install --only-dependencies --enable-tests --enable-benchmarks;
|
cabal install --only-dependencies --enable-tests --enable-benchmarks;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# snapshot package-db on cache miss
|
# snapshot package-db on cache miss
|
||||||
- if [ ! -d $HOME/.cabsnap ];
|
- if [ ! -d $HOME/.cabsnap ];
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user