diff --git a/.travis.yml b/.travis.yml index d1bffd581a39325d3615bdc58b0bb0f92b7f6b1c..742ac725ddfbc479b0883414379ecf219cf4f087 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,9 +36,9 @@ before_cache: matrix: include: - - compiler: "ghc-8.6.2" + - compiler: "ghc-8.6.3" # env: TEST=--disable-tests BENCH=--disable-benchmarks - addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.6.2], sources: [hvr-ghc]}} + addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.6.3], sources: [hvr-ghc]}} - compiler: "ghc-8.4.4" # env: TEST=--disable-tests BENCH=--disable-benchmarks addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.4.4], sources: [hvr-ghc]}} @@ -115,6 +115,7 @@ install: fi - grep -Ev -- '^\s*--' ${HOME}/.cabal/config | grep -Ev '^\s*$' - "printf 'packages: \".\"\\n' > cabal.project" + - "printf 'write-ghc-environment-files: always\\n' >> cabal.project" - touch cabal.project.local - "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- mtl | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi" - cat cabal.project || true @@ -136,6 +137,7 @@ script: - cd ${DISTDIR} || false - find . -maxdepth 1 -name '*.tar.gz' -exec tar -xvf '{}' \; - "printf 'packages: mtl-*/*.cabal\\n' > cabal.project" + - "printf 'write-ghc-environment-files: always\\n' >> cabal.project" - touch cabal.project.local - "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- mtl | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi" - cat cabal.project || true diff --git a/mtl.cabal b/mtl.cabal index fc3051f9d57fae307a0205622f7c78de0d4dcaa3..6d3244897f937c0ed6d971939bc7a65746f83272 100644 --- a/mtl.cabal +++ b/mtl.cabal @@ -25,7 +25,7 @@ tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, - GHC==8.6.2 + GHC==8.6.3 source-repository head type: git