Bläddra i källkod

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 år sedan
förälder
incheckning
8282873de5
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3
    1
      .travis.yml

+ 3
- 1
.travis.yml Visa fil

@@ -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"

Laddar…
Avbryt
Spara