git.iko.soy/typeable/http-api-data
on master help sign in
Add --allow-newer to GHC 8.1.* job
commitb18aa5df7817d25eab992ea30330deaef0db7e83 authorOleg Grenrus <oleg.grenrus@iki.fi> dateThu 12 Jan 2017, 17:49 (10 years ago) parente15b34b
1 file changed+5−4
.travis.yml+5−4
.travis.yml+5−4
@@ -36,6 +36,7 @@ matrix:
3636 # env: TEST=--disable-tests BENCH=--disable-benchmarks
3737 addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.0.2], sources: [hvr-ghc]}}
3838 - compiler: "ghc-head"
39+ env: CABALFLAGS="--allow-newer"
3940 # env: TEST=--disable-tests BENCH=--disable-benchmarks
4041 addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-head], sources: [hvr-ghc]}}
4142
@@ -66,8 +67,8 @@ install:
6667 - rm -fv cabal.project.local
6768 - "echo 'packages: .' > cabal.project"
6869 - rm -f cabal.project.freeze
69− - cabal new-build -w ${HC} ${TEST} ${BENCH} --dep -j2
70− - cabal new-build -w ${HC} --disable-tests --disable-benchmarks --dep -j2
70+ - cabal new-build ${CABALFLAGS} -w ${HC} ${TEST} ${BENCH} --dep -j2
71+ - cabal new-build ${CABALFLAGS} -w ${HC} --disable-tests --disable-benchmarks --dep -j2
7172
7273# Here starts the actual work to be performed for the package under test;
7374# any command which exits with a non-zero exit code causes the build to fail.
@@ -85,8 +86,8 @@ script:
8586 - "echo 'packages: .' > cabal.project"
8687 # this builds all libraries and executables (without tests/benchmarks)
8788 - rm -f cabal.project.freeze
88− - cabal new-build -w ${HC} --disable-tests --disable-benchmarks
89− - cabal new-build -w ${HC} --disable-tests --disable-benchmarks --flag http-api-data:use-text-show
89+ - cabal new-build ${CABALFLAGS} -w ${HC} --disable-tests --disable-benchmarks
90+ - cabal new-build ${CABALFLAGS} -w ${HC} --disable-tests --disable-benchmarks --flag http-api-data:use-text-show
9091 # this builds all libraries and executables (including tests/benchmarks)
9192 # - rm -rf ./dist-newstyle
9293 - cabal new-build -w ${HC} ${TEST} ${BENCH}