我不知道如何编辑我的.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
答案 0 :(得分:0)
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)
答案 1 :(得分:0)
用双引号括起你的第一个脚本命令:
"set pipefail ... | xcpretty"