Skip to content

Commit 1e7b285

Browse files
committed
Merge pull request #43 from ReactKit/CircleCI
Use CircleCI.
2 parents 11c0370 + 93cf6d3 commit 1e7b285

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SwiftTask
1+
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)
22
=========
33

44
[Promise](http://www.html5rocks.com/en/tutorials/es6/promises/) + progress + pause + cancel + retry for Swift.

circle.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
machine:
2+
xcode:
3+
version: "6.3.1"
4+
5+
general:
6+
branches:
7+
ignore:
8+
- swift/2.0
9+
10+
checkout:
11+
post:
12+
- git submodule update --init --recursive
13+
14+
test:
15+
override:
16+
- set -o pipefail &&
17+
xcodebuild
18+
-workspace "SwiftTask.xcworkspace"
19+
-scheme "SwiftTask-OSX"
20+
clean build test |
21+
tee $CIRCLE_ARTIFACTS/xcode_raw-OSX.log |
22+
xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results-OSX.xml
23+
24+
- set -o pipefail &&
25+
xcodebuild
26+
CODE_SIGNING_REQUIRED=NO
27+
CODE_SIGN_IDENTITY=
28+
PROVISIONING_PROFILE=
29+
-workspace "SwiftTask.xcworkspace"
30+
-scheme "SwiftTask-iOS"
31+
clean build test |
32+
tee $CIRCLE_ARTIFACTS/xcode_raw-iOS.log |
33+
xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results-iOS.xml

0 commit comments

Comments
 (0)