Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Commit

Permalink
Add Travis CI integration + coveralls test coverage tool
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliq committed Apr 19, 2015
1 parent 9bb8b16 commit 65a77cc
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .slather.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ci_service: travis_ci
coverage_service: coveralls
xcodeproj: Source/PKRevealController.xcodeproj
source_directory: Source/PKRevealController
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: objective-c
before_install: gem install cocoapods xcpretty slather --no-ri --no-rdoc --no-ri --no-rdoc
after_success: slather
xcode_project: Source/PKRevealController.xcodeproj
xcode_scheme: PKRevealController Tests
xcode_sdk: iphonesimulator
13 changes: 13 additions & 0 deletions Source/PKRevealController.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@
FRAMEWORK_SEARCH_PATHS = "\"/Applications/Spark Inspector.app/Contents/Resources/Frameworks\"";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_GENERATE_TEST_COVERAGE_FILES = YES;
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
Expand Down Expand Up @@ -356,6 +358,8 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_GENERATE_TEST_COVERAGE_FILES = YES;
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
Expand All @@ -368,6 +372,15 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
B31FE1381AE2B7C60050288C /* Build configuration list for PBXNativeTarget "PKRevealController Tests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
B31FE1361AE2B7C60050288C /* Debug */,
B31FE1371AE2B7C60050288C /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
F9621E981815246000469E41 /* Build configuration list for PBXNativeTarget "PKRevealController" */ = {
isa = XCConfigurationList;
buildConfigurations = (
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B31FE12C1AE2B7C60050288C"
BuildableName = "PKRevealController Tests.xctest"
BlueprintName = "PKRevealController Tests"
ReferencedContainer = "container:PKRevealController.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Release">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B31FE12C1AE2B7C60050288C"
BuildableName = "PKRevealController Tests.xctest"
BlueprintName = "PKRevealController Tests"
ReferencedContainer = "container:PKRevealController.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B31FE12C1AE2B7C60050288C"
BuildableName = "PKRevealController Tests.xctest"
BlueprintName = "PKRevealController Tests"
ReferencedContainer = "container:PKRevealController.xcodeproj">
</BuildableReference>
</MacroExpansion>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B31FE12C1AE2B7C60050288C"
BuildableName = "PKRevealController Tests.xctest"
BlueprintName = "PKRevealController Tests"
ReferencedContainer = "container:PKRevealController.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B31FE12C1AE2B7C60050288C"
BuildableName = "PKRevealController Tests.xctest"
BlueprintName = "PKRevealController Tests"
ReferencedContainer = "container:PKRevealController.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

0 comments on commit 65a77cc

Please sign in to comment.