gpt4 book ai didi

GitHub travis-ci 上的 Swift 项目检查总是失败?

转载 作者:行者123 更新时间:2023-11-30 11:44:07 25 4
gpt4 key购买 nike

我不知道如何编辑我的 .travis.yml。每次travis-ci检查失败,我都快疯了!

这是我的 travis-ci 链接:https://travis-ci.org/liman123/DebugMan

这是我的.travis.yml,有什么问题吗?谢谢!

osx_image: xcode8.3
language: objective-c

script:
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace
DebugMan.xcworkspace -scheme DebugMan -sdk iphonesimulator -destination
'platform=iOS Simulator,name=iPhone 6,OS=latest' ONLY_ACTIVE_ARCH=NO |
xcpretty
- pod lib lint

最佳答案

language: objective-c
script:
- xctool -project example.xcodeproj -scheme exampleTests build test -sdk
iphonesimulator GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES
GCC_GENERATE_TEST_COVERAGE_FILES=YES
after_success:
- bash <(curl -s https://codecov.io/bash)

关于GitHub travis-ci 上的 Swift 项目检查总是失败?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49041231/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com