on master help sign in
Use a newer cabal with 7.10

The 7.10 build fails when the cabal executable crashes in the configure step. It works with a new cabal, so let's use that. Any 7.10 user can install a newer cabal-install if it would turn out to be more than a Travis environment issue. Update explanation for why 8.4 doesn't work with new roadblock (sigh).

commit1fccb4bed5c9ea07b556e03ae22bf806c506912f authorNiklas Larsson <niklas@mm.st> dateSat 9 Jun 2018, 16:09 (8 years ago) parent7dba584
1 file changed+4−3
.travis.yml+4−3
.travis.yml+4−3
@@ -11,9 +11,9 @@ matrix:
1111 include:
1212 - env: CABALVER="2.2" GHCVER="8.4.1" STACKVER="7.14" STYLISH=YES
1313 addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.1,hscolour], sources: [hvr-ghc]}}
14− - env: CABALVER="1.22" GHCVER="7.10.3" TESTS="test_c"
14+ - env: CABALVER="2.2" GHCVER="7.10.3" TESTS="test_c"
1515 compiler: ": #GHC 7.10.3"
16− addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3,cppcheck,hscolour], sources: [hvr-ghc]}}
16+ addons: {apt: {packages: [cabal-install-2.2,ghc-7.10.3,cppcheck,hscolour], sources: [hvr-ghc]}}
1717 - env: CABALVER="1.24" GHCVER="8.0.1" TESTS="test_c"
1818 compiler: ": #GHC 8.0.1"
1919 addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.1,cppcheck,hscolour], sources: [hvr-ghc]}}
@@ -26,7 +26,8 @@ matrix:
2626 - env: CABALVER="2.0" GHCVER="8.2.2" TESTS="test_c"
2727 compiler: ": #GHC 8.2.2"
2828 addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2,cppcheck,hscolour], sources: [hvr-ghc]}}
29−#TODO: Uncomment when tasty-rerun has been updated for base-4.11
29+#TODO: The idris built with those fails due to libffi dynamic linking version mismatch.
30+# Caused by the GHC backport to Trusty?
3031# - env: CABALVER="2.2" GHCVER="8.4.1" TESTS="lib_doc doc"
3132# compiler: ": #GHC 8.4.1"
3233# addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.1,cppcheck,hscolour], sources: [hvr-ghc]}}