diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..a5e6607 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +osx_image: xcode8 +language: objective-c +script: + - | + xcodebuild clean build test \ + -project FRDIntent.xcodeproj \ + -scheme FRDIntent \ + -sdk iphonesimulator \ + -destination 'platform=iOS Simulator,name=iPhone 7,OS=10.0' \ + ONLY_ACTIVE_ARCH=NO diff --git a/README.md b/README.md index 4b09df3..9ff7f24 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ # FRDIntent +[![Test Status](https://travis-ci.org/douban/FRDIntent.svg?branch=master)](https://travis-ci.org/douban/FRDIntent) [![Language](https://img.shields.io/badge/language-Swift%203-orange.svg) ](https://developer.apple.com/swift/) +[![IDE](https://img.shields.io/badge/XCode-8-blue.svg)]() [![iOS](https://img.shields.io/badge/iOS-8.0-green.svg)]() **FRDIntent** 包括两部分 FRDIntent/Intent 和 FRDIntent/URLRoutes。它们分别可以用于处理应用内和应用外的 view controller 调用。