1 Star 0 Fork 0

Matrixdom/Kingfisher

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
onevcat 提交于 2017-07-27 15:02 . Fix macos ci script
language: objective-c
os: osx
osx_image: xcode9
env:
matrix:
- TEST_TYPE=iOS
- TEST_TYPE=macOS
- TEST_TYPE=tvOS
-before_install:
- |
gem install xcpretty -N --no-ri --no-rdoc
script:
- |
./setup.sh
if [ "$TEST_TYPE" = iOS ]; then
set -o pipefail
xcodebuild clean test -workspace Kingfisher.xcworkspace -scheme Kingfisher -destination 'platform=iOS Simulator,name=iPhone 7,OS=10.1' -enableCodeCoverage YES | xcpretty
elif [ "$TEST_TYPE" = macOS ]; then
set -o pipefail
xcodebuild clean test -workspace Kingfisher.xcworkspace -scheme Kingfisher-macOS -enableCodeCoverage YES | xcpretty
elif [ "$TEST_TYPE" = tvOS ]; then
set -o pipefail
xcodebuild clean test -workspace Kingfisher.xcworkspace -scheme Kingfisher-tvOS -destination "platform=tvOS Simulator,name=Apple TV 1080p" -enableCodeCoverage YES | xcpretty
fi
after_success:
- sleep 5
- if [ "$TEST_TYPE" = iOS ] || [ "$TEST_TYPE" = macOS ] || [ "$TEST_TYPE" = tvOS ]; then
bash <(curl -s https://codecov.io/bash)
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Swift
1
https://gitee.com/matri/Kingfisher.git
git@gitee.com:matri/Kingfisher.git
matri
Kingfisher
Kingfisher
master

搜索帮助