瀏覽代碼

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 年之前
父節點
當前提交
8282873de5
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. 3
    1
      .travis.yml

+ 3
- 1
.travis.yml 查看文件

1
 osx_image: xcode9.4
1
 osx_image: xcode9.4
2
 language: objective-c
2
 language: objective-c
3
 script:
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"

Loading…
取消
儲存