Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
language: objective-c

install:
- gem install xcpretty

env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- APP_NAME="SwiftFlowGitHubBrowser"

osx_image: xcode9

matrix:
include:
- env: SDK="iphonesimulator" DESTINATION="OS=11.0,name=iPhone 8"

before_install:
- carthage update --no-use-binaries --platform iOS

script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- xcodebuild
-project "$APP_NAME.xcodeproj"
-scheme "$APP_NAME"
-sdk "$SDK"
-destination "$DESTINATION"
-configuration Debug
ONLY_ACTIVE_ARCH=YES
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES
GCC_GENERATE_TEST_COVERAGE_FILES=YES
test
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "25BB761C1C3CB8CB008EA13B"
BuildableName = "SwiftFlowGitHubBrowser.app"
BlueprintName = "SwiftFlowGitHubBrowser"
ReferencedContainer = "container:SwiftFlowGitHubBrowser.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "62EF0A741C700C2300D13711"
BuildableName = "SwiftFlowGitHubBrowserTests.xctest"
BlueprintName = "SwiftFlowGitHubBrowserTests"
ReferencedContainer = "container:SwiftFlowGitHubBrowser.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "25BB761C1C3CB8CB008EA13B"
BuildableName = "SwiftFlowGitHubBrowser.app"
BlueprintName = "SwiftFlowGitHubBrowser"
ReferencedContainer = "container:SwiftFlowGitHubBrowser.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "25BB761C1C3CB8CB008EA13B"
BuildableName = "SwiftFlowGitHubBrowser.app"
BlueprintName = "SwiftFlowGitHubBrowser"
ReferencedContainer = "container:SwiftFlowGitHubBrowser.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "25BB761C1C3CB8CB008EA13B"
BuildableName = "SwiftFlowGitHubBrowser.app"
BlueprintName = "SwiftFlowGitHubBrowser"
ReferencedContainer = "container:SwiftFlowGitHubBrowser.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>