diff --git a/README.md b/README.md index 8959374..81bd0a0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -SwiftTask +SwiftTask [![Circle CI](https://circleci.com/gh/ReactKit/SwiftTask/tree/swift%2F1.2.svg?style=svg)](https://circleci.com/gh/ReactKit/SwiftTask/tree/swift%2F1.2) ========= [Promise](http://www.html5rocks.com/en/tutorials/es6/promises/) + progress + pause + cancel + retry for Swift. diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..b32a8cd --- /dev/null +++ b/circle.yml @@ -0,0 +1,33 @@ +machine: + xcode: + version: "6.3.1" + +general: + branches: + ignore: + - swift/2.0 + +checkout: + post: + - git submodule update --init --recursive + +test: + override: + - set -o pipefail && + xcodebuild + -workspace "SwiftTask.xcworkspace" + -scheme "SwiftTask-OSX" + clean build test | + tee $CIRCLE_ARTIFACTS/xcode_raw-OSX.log | + xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results-OSX.xml + + - set -o pipefail && + xcodebuild + CODE_SIGNING_REQUIRED=NO + CODE_SIGN_IDENTITY= + PROVISIONING_PROFILE= + -workspace "SwiftTask.xcworkspace" + -scheme "SwiftTask-iOS" + clean build test | + tee $CIRCLE_ARTIFACTS/xcode_raw-iOS.log | + xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results-iOS.xml \ No newline at end of file