CI: Travis: build.sh: BUILD_PROJECT: GHCJS: upd phrasing

Thanks to @sjakobi

Co-authored-by: Simon Jakobi <simon.jakobi@gmail.com>
This commit is contained in:
Anton Latukha 2020-05-28 17:45:29 +03:00 committed by Anton-Latukha
parent 09c5464941
commit 7c53b1bef0
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41
1 changed files with 3 additions and 3 deletions

View File

@ -79,11 +79,11 @@ fi
if [ "$GHCVERSION" = "ghcjs" ]
then
# NOTE: GHC JS build
# Bu itselt GHC JS build every tine creates >65000 line logs that are >4MB in size, so Travis terminates due to log size quota.
# NOTE: GHCJS build
# By itself, GHCJS creates >65000 lines of log that are >4MB in size, so Travis terminates due to log size quota.
# nixbuild --quiet (x5) does not work on GHC JS build
# So there was a need to make it build.
# Solution - is to silence the stdout
# The solution is to silence the stdout
# But Travis then terminates on 10 min no stdout timeout
# so HACK: SILENT wrapper allows to surpress the huge log, while still preserves the Cachix caching ability in any case of the build
# On build failure outputs the last 10000 lines of log (that should be more then enough), and terminates