Skip to content

Commit

Permalink
Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
vsanthanam committed Apr 4, 2018
1 parent 88f9893 commit cceb37b
Show file tree
Hide file tree
Showing 5 changed files with 229 additions and 14 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
language: objective-c
xcode_project: Nexum.xcodeproj # path to your xcodeproj folder
xcode_scheme: NexumTests
166 changes: 166 additions & 0 deletions Nexum.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
072FCAE92061F7EC007F9030 /* NXNetwork.h in Headers */ = {isa = PBXBuildFile; fileRef = 072FCAE52061EF0B007F9030 /* NXNetwork.h */; settings = {ATTRIBUTES = (Public, ); }; };
072FCAFA20620978007F9030 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 072FCAF920620978007F9030 /* CoreFoundation.framework */; };
072FCAFC2062097F007F9030 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 072FCAFB2062097F007F9030 /* SystemConfiguration.framework */; };
0759FFB82074749D008F58BB /* NexumTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0759FFB72074749D008F58BB /* NexumTests.m */; };
0759FFBA2074749D008F58BB /* libNexum.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 072FCADB2061EEF1007F9030 /* libNexum.a */; };
07FFF01A20685C4000507AE3 /* NXAddressInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 07FFF01820685C4000507AE3 /* NXAddressInfo.h */; settings = {ATTRIBUTES = (Public, ); }; };
07FFF01B20685C4000507AE3 /* NXAddressInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 07FFF01920685C4000507AE3 /* NXAddressInfo.m */; };
/* End PBXBuildFile section */
Expand All @@ -50,6 +52,13 @@
remoteGlobalIDString = 072FCADA2061EEF1007F9030;
remoteInfo = Nexum;
};
0759FFBB2074749D008F58BB /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 072FCAD12061EEE5007F9030 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 072FCADA2061EEF1007F9030;
remoteInfo = Nexum;
};
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
Expand All @@ -73,6 +82,10 @@
072FCAEA2061F873007F9030 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = module.modulemap; sourceTree = "<group>"; };
072FCAF920620978007F9030 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreFoundation.framework; sourceTree = DEVELOPER_DIR; };
072FCAFB2062097F007F9030 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; };
0759FFB020747468008F58BB /* .travis.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .travis.yml; sourceTree = "<group>"; };
0759FFB52074749D008F58BB /* NexumTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NexumTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
0759FFB72074749D008F58BB /* NexumTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NexumTests.m; sourceTree = "<group>"; };
0759FFB92074749D008F58BB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
076D7F7920634045004AC894 /* Example - Basic Reachability.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = "Example - Basic Reachability.md"; sourceTree = "<group>"; };
076D7F7A2063F319004AC894 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
076D7F832063FA28004AC894 /* Designing For Reachability.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = "Designing For Reachability.md"; sourceTree = "<group>"; };
Expand All @@ -91,15 +104,25 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
0759FFB22074749D008F58BB /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
0759FFBA2074749D008F58BB /* libNexum.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
072FCAD02061EEE5007F9030 = {
isa = PBXGroup;
children = (
0759FFB020747468008F58BB /* .travis.yml */,
076D7F7A2063F319004AC894 /* README.md */,
076D7F7820634005004AC894 /* Guides */,
072FCADD2061EEF1007F9030 /* Nexum */,
0759FFB62074749D008F58BB /* NexumTests */,
072FCADC2061EEF1007F9030 /* Products */,
072FCAF820620978007F9030 /* Frameworks */,
);
Expand All @@ -109,6 +132,7 @@
isa = PBXGroup;
children = (
072FCADB2061EEF1007F9030 /* libNexum.a */,
0759FFB52074749D008F58BB /* NexumTests.xctest */,
);
name = Products;
sourceTree = "<group>";
Expand All @@ -135,6 +159,15 @@
name = Frameworks;
sourceTree = "<group>";
};
0759FFB62074749D008F58BB /* NexumTests */ = {
isa = PBXGroup;
children = (
0759FFB72074749D008F58BB /* NexumTests.m */,
0759FFB92074749D008F58BB /* Info.plist */,
);
path = NexumTests;
sourceTree = "<group>";
};
076D7F7820634005004AC894 /* Guides */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -179,6 +212,24 @@
productReference = 072FCADB2061EEF1007F9030 /* libNexum.a */;
productType = "com.apple.product-type.library.static";
};
0759FFB42074749D008F58BB /* NexumTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 0759FFBD2074749D008F58BB /* Build configuration list for PBXNativeTarget "NexumTests" */;
buildPhases = (
0759FFB12074749D008F58BB /* Sources */,
0759FFB22074749D008F58BB /* Frameworks */,
0759FFB32074749D008F58BB /* Resources */,
);
buildRules = (
);
dependencies = (
0759FFBC2074749D008F58BB /* PBXTargetDependency */,
);
name = NexumTests;
productName = NexumTests;
productReference = 0759FFB52074749D008F58BB /* NexumTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -199,6 +250,10 @@
CreatedOnToolsVersion = 9.2;
ProvisioningStyle = Automatic;
};
0759FFB42074749D008F58BB = {
CreatedOnToolsVersion = 9.3;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = 072FCAD42061EEE5007F9030 /* Build configuration list for PBXProject "Nexum" */;
Expand All @@ -215,12 +270,23 @@
projectRoot = "";
targets = (
072FCADA2061EEF1007F9030 /* Nexum */,
0759FFB42074749D008F58BB /* NexumTests */,
072FCAEC2061F996007F9030 /* Framework */,
072FCAF32061FD95007F9030 /* Documentation */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
0759FFB32074749D008F58BB /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
072FCAEB2061F893007F9030 /* Build Framework Bundle */ = {
isa = PBXShellScriptBuildPhase;
Expand Down Expand Up @@ -276,6 +342,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
0759FFB12074749D008F58BB /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
0759FFB82074749D008F58BB /* NexumTests.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
Expand All @@ -284,6 +358,11 @@
target = 072FCADA2061EEF1007F9030 /* Nexum */;
targetProxy = 072FCAF02061F99C007F9030 /* PBXContainerItemProxy */;
};
0759FFBC2074749D008F58BB /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 072FCADA2061EEF1007F9030 /* Nexum */;
targetProxy = 0759FFBB2074749D008F58BB /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin XCBuildConfiguration section */
Expand Down Expand Up @@ -515,6 +594,84 @@
};
name = Release;
};
0759FFBE2074749D008F58BB /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = Y88YPD4RJA;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
INFOPLIST_FILE = NexumTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.varunsanthanam.NexumTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
0759FFBF2074749D008F58BB /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = Y88YPD4RJA;
ENABLE_NS_ASSERTIONS = NO;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
INFOPLIST_FILE = NexumTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.varunsanthanam.NexumTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand Down Expand Up @@ -554,6 +711,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
0759FFBD2074749D008F58BB /* Build configuration list for PBXNativeTarget "NexumTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
0759FFBE2074749D008F58BB /* Debug */,
0759FFBF2074749D008F58BB /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 072FCAD12061EEE5007F9030 /* Project object */;
Expand Down
22 changes: 22 additions & 0 deletions NexumTests/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
38 changes: 38 additions & 0 deletions NexumTests/NexumTests.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
//
// NexumTests.m
// NexumTests
//
// Created by Varun Santhanam on 4/3/18.
//

#import <XCTest/XCTest.h>

@interface NexumTests : XCTestCase

@end

@implementation NexumTests

- (void)setUp {
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}

- (void)tearDown {
// Put teardown code here. This method is called after the invocation of each test method in the class.
[super tearDown];
}

- (void)testExample {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}

- (void)testPerformanceExample {
// This is an example of a performance test case.
[self measureBlock:^{
// Put the code you want to measure the time of here.
}];
}

@end
14 changes: 0 additions & 14 deletions Release/Nexum.framework/Versions/A/Headers/NSAddresses.h

This file was deleted.

0 comments on commit cceb37b

Please sign in to comment.