Skip to content

Commit 55d984f

Browse files
committed
circle.yml: Ignore Swift 2.0 branch
Turns out removing the circle.yml file doesn't keep Circle CI from attempting to build. Instead, use its blacklisting API to keep the swift-2.0 branch from being built.
1 parent b1f6f35 commit 55d984f

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

circle.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
machine:
2+
xcode:
3+
version: "6.3.1"
4+
5+
general:
6+
branches:
7+
ignore:
8+
- swift-2.0 # Circle CI doesn't support Xcode 7/Swift 2.0 yet.
9+
10+
# despite what circle ci says, xctool 0.2.3 cannot run
11+
# ios simulator tests on iOS frameworks for whatever reason.
12+
#
13+
# See: https://github.com/facebook/xctool/issues/415
14+
test:
15+
override:
16+
- set -o pipefail &&
17+
xcodebuild
18+
-scheme "Nimble-iOS"
19+
-sdk iphonesimulator
20+
-destination 'platform=iOS Simulator,OS=8.1,name=iPhone 6'
21+
-project Nimble.xcodeproj
22+
-configuration Debug
23+
CODE_SIGNING_REQUIRED=NO
24+
CODE_SIGN_IDENTITY=
25+
PROVISIONING_PROFILE=
26+
clean test |
27+
tee $CIRCLE_ARTIFACTS/xcode_raw_ios.log |
28+
xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/ios-results.xml
29+
- set -o pipefail &&
30+
xcodebuild
31+
-scheme "Nimble-OSX"
32+
-sdk macosx
33+
-project Nimble.xcodeproj
34+
-configuration Debug
35+
CODE_SIGNING_REQUIRED=NO
36+
CODE_SIGN_IDENTITY=
37+
PROVISIONING_PROFILE=
38+
clean test |
39+
tee $CIRCLE_ARTIFACTS/xcode_raw_osx.log |
40+
xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/osx-results.xml
41+
42+

0 commit comments

Comments
 (0)