Skip to content

Commit

Permalink
Merge pull request #30 from ishkawa/circleci-xcode63
Browse files Browse the repository at this point in the history
Update circle.yml for Xcode 6.3
  • Loading branch information
ishkawa committed May 3, 2015
2 parents 7eb79ab + 3db1833 commit 4ae948b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
4 changes: 2 additions & 2 deletions APIKit.xcodeproj/xcshareddata/xcschemes/APIKit-Mac.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
buildConfiguration = "Release">
<Testables>
<TestableReference
skipped = "NO">
Expand Down Expand Up @@ -54,7 +54,7 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
Expand Down
29 changes: 16 additions & 13 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
machine:
xcode:
version: "6.3.1"
environment:
LC_CTYPE: en_US.UTF-8

dependencies:
override:
#- ./script/import-certificates
#- sudo gem install cocoapods
#- sudo gem install xcpretty
#- brew install carthage
#- carthage bootstrap
- echo "skip installing dependencies until Circle CI supports Xcode 6.3 (with Swift 1.2)."
- sudo chown :wheel "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim"
- sudo chown :wheel "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim"
- sudo chown :wheel "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim"
- ./script/import-certificates
- sudo gem install cocoapods
- sudo gem install xcpretty
- brew update
- brew install carthage
- carthage bootstrap

test:
override:
#- ./script/check-carthage-compatibility
#- pod lib lint
#- set -o pipefail && xcodebuild test -scheme APIKit-iOS | xcpretty -c -r junit -o $CIRCLE_TEST_REPORTS/test-report-ios.xml
#- set -o pipefail && xcodebuild test -scheme APIKit-Mac | xcpretty -c -r junit -o $CIRCLE_TEST_REPORTS/test-report-mac.xml
#- set -o pipefail && xcodebuild build -scheme DemoApp -sdk iphonesimulator | xcpretty -c
- echo "skip testing until Circle CI supports Xcode 6.3 (with Swift 1.2)."

- ./script/check-carthage-compatibility
- pod lib lint --allow-warnings
- set -o pipefail && xcodebuild test -scheme APIKit-iOS | xcpretty -c -r junit -o $CIRCLE_TEST_REPORTS/test-report-ios.xml
- set -o pipefail && xcodebuild test -scheme APIKit-Mac | xcpretty -c -r junit -o $CIRCLE_TEST_REPORTS/test-report-mac.xml
- set -o pipefail && xcodebuild build -scheme DemoApp -sdk iphonesimulator | xcpretty -c

0 comments on commit 4ae948b

Please sign in to comment.