Ver código fonte

fix(travis): tail last 500 lines of logs only on failure

This is a workaround suggested by Travis support to workaround the
"The job exceeded the maximum log length, and has been terminated."
error.

Another option would be to upload the logs somewhere, but actually it
might be more convenient not having to scroll down all those logs. We
can revisit this case if some problems will be encountered (like for
example if there's need to see something in the middle).
master
paweldomas 7 anos atrás
pai
commit
8282873de5
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3
    1
      .travis.yml

+ 3
- 1
.travis.yml Ver arquivo

@@ -1,4 +1,6 @@
1 1
 osx_image: xcode9.4
2 2
 language: objective-c
3 3
 script:
4
-- "./ios/travis-ci/build-ipa.sh"
4
+- "./ios/travis-ci/build-ipa.sh > build_output.txt"
5
+after_failure:
6
+- "tail -n 500 build_output.txt"

Carregando…
Cancelar
Salvar