Skip to content

Commit

Permalink
Added circle.yml.
Browse files Browse the repository at this point in the history
Taken from Nimble. Added submodule updating.
  • Loading branch information
jeffh committed May 2, 2015
1 parent cb805a2 commit a8f02ae
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
machine:
xcode:
version: "6.3.1"

checkout:
post:
- git submodule update --init --recursive

# despite what circle ci says, xctool 0.2.3 cannot run
# ios simulator tests on iOS frameworks for whatever reason.
#
# See: https://github.com/facebook/xctool/issues/415
test:
override:
- set -o pipefail &&
xcodebuild
-scheme "Quick-iOS"
-sdk iphonesimulator
-destination 'platform=iOS Simulator,OS=8.1,name=iPhone 6'
-workspace Quick.xcworkspace
-configuration Debug
CODE_SIGNING_REQUIRED=NO
CODE_SIGN_IDENTITY=
PROVISIONING_PROFILE=
clean test |
tee $CIRCLE_ARTIFACTS/xcode_raw_ios.log |
xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/ios-results.xml
- set -o pipefail &&
xcodebuild
-scheme "Quick-OSX"
-sdk macosx
-workspace Quick.xcworkspace
-configuration Debug
CODE_SIGNING_REQUIRED=NO
CODE_SIGN_IDENTITY=
PROVISIONING_PROFILE=
clean test |
tee $CIRCLE_ARTIFACTS/xcode_raw_osx.log |
xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/osx-results.xml


0 comments on commit a8f02ae

Please sign in to comment.