Skip to content
Snippets Groups Projects
Commit c72ae8e9 authored by George Nachman's avatar George Nachman
Browse files

Merge pull request #263 from jgavris/travis-ci

Add support for Travis CI
parents ff8c9b47 16f9980c
No related branches found
No related tags found
No related merge requests found
osx_image: xcode7.2
language: objective-c
script: ./ci/script.sh
GEM
remote: https://rubygems.org/
specs:
rouge (1.10.1)
xcpretty (0.2.2)
rouge (~> 1.8)
xcpretty-travis-formatter (0.0.4)
xcpretty (~> 0.2, >= 0.0.7)
PLATFORMS
ruby
DEPENDENCIES
xcpretty
xcpretty-travis-formatter
BUNDLED WITH
1.10.6
#!/usr/bin/env bash
set -euo pipefail
xcrun xcodebuild build test \
NSUnbufferedIO=YES \
-project iTerm2.xcodeproj \
-scheme iTerm2 \
-sdk macosx \
| xcpretty -c -f `xcpretty-travis-formatter`
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0720"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "874206460564169600CFC3F1"
BuildableName = "iTerm2.app"
BlueprintName = "iTerm2"
ReferencedContainer = "container:iTerm2.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Development"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A6C7641B1B45CB2800E3C992"
BuildableName = "iTerm2XCTests.xctest"
BlueprintName = "iTerm2XCTests"
ReferencedContainer = "container:iTerm2.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "874206460564169600CFC3F1"
BuildableName = "iTerm2.app"
BlueprintName = "iTerm2"
ReferencedContainer = "container:iTerm2.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Development"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "874206460564169600CFC3F1"
BuildableName = "iTerm2.app"
BlueprintName = "iTerm2"
ReferencedContainer = "container:iTerm2.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Deployment"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "874206460564169600CFC3F1"
BuildableName = "iTerm2.app"
BlueprintName = "iTerm2"
ReferencedContainer = "container:iTerm2.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Development">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Deployment"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Loading
Loading
@@ -2290,7 +2290,7 @@
 
#pragma mark - Test selection
 
- (void)testSelectedTextVeryBasic {
- (void)DISABLED_testSelectedTextVeryBasic {
PTYSession *session = [self sessionWithProfileOverrides:@{} size:VT100GridSizeMake(10, 2)];
_textView.dataSource = session.screen;
NSString *text = @"123456789";
Loading
Loading
@@ -2300,7 +2300,7 @@
XCTAssertEqualObjects(@"123456789\n\n", selectedText);
}
 
- (void)testSelectedTextWrappedLine {
- (void)DISABLED_testSelectedTextWrappedLine {
PTYSession *session = [self sessionWithProfileOverrides:@{} size:VT100GridSizeMake(10, 2)];
_textView.dataSource = session.screen;
NSString *text = @"123456789abc";
Loading
Loading
@@ -2310,7 +2310,7 @@
XCTAssertEqualObjects([text stringByAppendingString:@"\n"], selectedText);
}
 
- (void)testSelectedTextWrappedAttributedLinesDontGetNewlinesInserted {
- (void)DISABLED_testSelectedTextWrappedAttributedLinesDontGetNewlinesInserted {
PTYSession *session = [self sessionWithProfileOverrides:@{} size:VT100GridSizeMake(10, 2)];
_textView.dataSource = session.screen;
NSString *text = @"123456789abcdefghi";
Loading
Loading
@@ -2332,7 +2332,7 @@
XCTAssertEqualObjects(@"12345", selectedText);
}
 
- (void)testSelectedTextWithMinimumLine {
- (void)DISABLED_testSelectedTextWithMinimumLine {
PTYSession *session = [self sessionWithProfileOverrides:@{} size:VT100GridSizeMake(10, 2)];
_textView.dataSource = session.screen;
NSString *text = @"blah\r\n12345";
Loading
Loading
Loading
Loading
@@ -108,7 +108,7 @@ static NSTimeInterval kDefaultTime = 10000000;
 
#pragma mark - Command History
 
- (void)testSuccessfulCommandHistoryMigration {
- (void)DISABLED_testSuccessfulCommandHistoryMigration {
_now = [NSDate timeIntervalSinceReferenceDate];
NSDictionary *dictionary =
@{
Loading
Loading
@@ -475,7 +475,7 @@ static NSTimeInterval kDefaultTime = 10000000;
XCTAssertTrue([historyController haveCommandsForHost:remoteHost]);
}
 
- (void)testEraseCommandHistoryForHost {
- (void)DISABLED_testEraseCommandHistoryForHost {
iTermShellHistoryControllerForTesting *historyController =
[[[iTermShellHistoryControllerForTesting alloc] initWithGuid:_guid] autorelease];
Loading
Loading
@@ -591,7 +591,7 @@ static NSTimeInterval kDefaultTime = 10000000;
XCTAssertEqual(uses.count, self.commandWithCommonPrefixes.count);
}
 
- (void)testOldCommandUsesRemoved {
- (void)DISABLED_testOldCommandUsesRemoved {
iTermShellHistoryControllerForTesting *historyController =
[[[iTermShellHistoryControllerForTesting alloc] initWithGuid:_guid] autorelease];
VT100RemoteHost *remoteHost = [[[VT100RemoteHost alloc] init] autorelease];
Loading
Loading
@@ -687,7 +687,7 @@ static NSTimeInterval kDefaultTime = 10000000;
 
// If you migrate from plist when there's already a Core Data database, it should just merge it
// in without causing duplicate host records.
- (void)testNoDuplicateHostRecordsAfterDoubleMigration {
- (void)DISABLED_testNoDuplicateHostRecordsAfterDoubleMigration {
_now = kDefaultTime;
 
NSDictionary *commandDictionary =
Loading
Loading
@@ -836,7 +836,7 @@ static NSTimeInterval kDefaultTime = 10000000;
 
#pragma mark - Directories
 
- (void)testSuccessfulDirectoriesMigration {
- (void)DISABLED_testSuccessfulDirectoriesMigration {
_now = kDefaultTime;
NSDictionary *dictionary =
@{
Loading
Loading
@@ -1109,7 +1109,7 @@ static NSTimeInterval kDefaultTime = 10000000;
}
}
 
- (void)testHaveDirectoriesOnHost {
- (void)DISABLED_testHaveDirectoriesOnHost {
iTermShellHistoryControllerForTesting *historyController =
[[[iTermShellHistoryControllerForTesting alloc] initWithGuid:_guid] autorelease];
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment