Skip to content

Commit

Permalink
improved travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
nst committed May 14, 2014
1 parent a3f7d74 commit 7a30f62
Show file tree
Hide file tree
Showing 10 changed files with 445 additions and 121 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
language: objective-c

script: xctool test -project Tests/UnitTests.xcodeproj -scheme Tests
script: xctool -project Tests/UnitTests.xcodeproj -scheme STTwitter
9 changes: 9 additions & 0 deletions Tests/STTwitter/STTwitter-Prefix.pch
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//
// Prefix header
//
// The contents of this file are implicitly included at the beginning of every source file.
//

#ifdef __OBJC__
#import <Foundation/Foundation.h>
#endif
79 changes: 79 additions & 0 deletions Tests/STTwitter/STTwitter.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples.
.\"See Also:
.\"man mdoc.samples for a complete listing of options
.\"man mdoc for the short list of editing options
.\"/usr/share/misc/mdoc.template
.Dd 14/05/14 \" DATE
.Dt STTwitter 1 \" Program name and manual section number
.Os Darwin
.Sh NAME \" Section Header - required - don't modify
.Nm STTwitter,
.\" The following lines are read in generating the apropos(man -k) database. Use only key
.\" words here as the database is built based on the words here and in the .ND line.
.Nm Other_name_for_same_program(),
.Nm Yet another name for the same program.
.\" Use .Nm macro to designate other names for the documented program.
.Nd This line parsed for whatis database.
.Sh SYNOPSIS \" Section Header - required - don't modify
.Nm
.Op Fl abcd \" [-abcd]
.Op Fl a Ar path \" [-a path]
.Op Ar file \" [file]
.Op Ar \" [file ...]
.Ar arg0 \" Underlined argument - use .Ar anywhere to underline
arg2 ... \" Arguments
.Sh DESCRIPTION \" Section Header - required - don't modify
Use the .Nm macro to refer to your program throughout the man page like such:
.Nm
Underlining is accomplished with the .Ar macro like this:
.Ar underlined text .
.Pp \" Inserts a space
A list of items with descriptions:
.Bl -tag -width -indent \" Begins a tagged list
.It item a \" Each item preceded by .It macro
Description of item a
.It item b
Description of item b
.El \" Ends the list
.Pp
A list of flags and their descriptions:
.Bl -tag -width -indent \" Differs from above in tag removed
.It Fl a \"-a flag as a list item
Description of -a flag
.It Fl b
Description of -b flag
.El \" Ends the list
.Pp
.\" .Sh ENVIRONMENT \" May not be needed
.\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1
.\" .It Ev ENV_VAR_1
.\" Description of ENV_VAR_1
.\" .It Ev ENV_VAR_2
.\" Description of ENV_VAR_2
.\" .El
.Sh FILES \" File used or created by the topic of the man page
.Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact
.It Pa /usr/share/file_name
FILE_1 description
.It Pa /Users/joeuser/Library/really_long_file_name
FILE_2 description
.El \" Ends the list
.\" .Sh DIAGNOSTICS \" May not be needed
.\" .Bl -diag
.\" .It Diagnostic Tag
.\" Diagnostic informtion here.
.\" .It Diagnostic Tag
.\" Diagnostic informtion here.
.\" .El
.Sh SEE ALSO
.\" List links in ascending order by section, alphabetically within a section.
.\" Please do not reference files that do not exist without filing a bug report
.Xr a 1 ,
.Xr b 1 ,
.Xr c 1 ,
.Xr a 2 ,
.Xr b 2 ,
.Xr a 3 ,
.Xr b 3
.\" .Sh BUGS \" Document known, unremedied bugs
.\" .Sh HISTORY \" Document history if command behaves in a unique manner
22 changes: 22 additions & 0 deletions Tests/STTwitter/main.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//
// main.m
// STTwitter
//
// Created by Nicolas Seriot on 14/05/14.
// Copyright (c) 2014 Nicolas Seriot. All rights reserved.
//

#import <Foundation/Foundation.h>

int main(int argc, const char * argv[])
{

@autoreleasepool {

// insert code here...
NSLog(@"Hello, World!");

}
return 0;
}

317 changes: 236 additions & 81 deletions Tests/UnitTests.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,34 @@
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
<false/>
<key>IDESourceControlProjectIdentifier</key>
<string>ED19B8B2-E8E9-417A-A2F3-EE3B2B2A5C49</string>
<string>8E462E7F-7EE0-4A25-8E21-15FA122B5813</string>
<key>IDESourceControlProjectName</key>
<string>UnitTests</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>361C0BC2-C065-4C7E-A13B-106641F40956</key>
<key>33A5C77E-E8FA-4BBA-874D-7F916746A91B</key>
<string>https://github.com/nst/STTwitter.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>Tests/UnitTests.xcodeproj/project.xcworkspace</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>361C0BC2-C065-4C7E-A13B-106641F40956</key>
<key>33A5C77E-E8FA-4BBA-874D-7F916746A91B</key>
<string>../../..</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>https://github.com/nst/STTwitter.git</string>
<key>IDESourceControlProjectVersion</key>
<integer>110</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>361C0BC2-C065-4C7E-A13B-106641F40956</string>
<string>33A5C77E-E8FA-4BBA-874D-7F916746A91B</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>361C0BC2-C065-4C7E-A13B-106641F40956</string>
<string>33A5C77E-E8FA-4BBA-874D-7F916746A91B</string>
<key>IDESourceControlWCCName</key>
<string>STTwitter</string>
</dict>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "03E5FDBC19236F92007BE44D"
BuildableName = "STTwitter"
BlueprintName = "STTwitter"
ReferencedContainer = "container:UnitTests.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "03E5FDBC19236F92007BE44D"
BuildableName = "STTwitter"
BlueprintName = "STTwitter"
ReferencedContainer = "container:UnitTests.xcodeproj">
</BuildableReference>
</MacroExpansion>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "03E5FDBC19236F92007BE44D"
BuildableName = "STTwitter"
BlueprintName = "STTwitter"
ReferencedContainer = "container:UnitTests.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "03E5FDBC19236F92007BE44D"
BuildableName = "STTwitter"
BlueprintName = "STTwitter"
ReferencedContainer = "container:UnitTests.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "../STTwitter/STTwitterAPI.m"
timestampString = "417261485.004422"
timestampString = "421673089.759352"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "3285"
endingLineNumber = "3285"
landmarkName = "-getListsShowListSlug:ownerScreenName:orOwnerID:successBlock:errorBlock:"
startingLineNumber = "3371"
endingLineNumber = "3371"
landmarkName = "-getListsShowListID:successBlock:errorBlock:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
Expand Down Expand Up @@ -83,7 +83,7 @@
symbolName = "-[STTwitterOAuth getResource:baseURLString:parameters:downloadProgressBlock:successBlock:errorBlock:]"
moduleName = "STTwitterDemoOSX"
urlString = "file:///Users/nst/Projects/STTwitter/STTwitter/STTwitterOAuth.m"
timestampString = "417261559.931216"
timestampString = "421673090.160996"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "467"
Expand All @@ -97,7 +97,7 @@
symbolName = "__Block_byref_object_copy_"
moduleName = "STTwitterDemoOSX"
urlString = "file:///Users/nst/Projects/STTwitter/STTwitter/STTwitterOAuth.m"
timestampString = "417261559.931452"
timestampString = "421673090.161143"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "467"
Expand All @@ -111,7 +111,7 @@
symbolName = "__Block_byref_object_dispose_"
moduleName = "STTwitterDemoOSX"
urlString = "file:///Users/nst/Projects/STTwitter/STTwitter/STTwitterOAuth.m"
timestampString = "417261559.931713"
timestampString = "421673090.16127"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "467"
Expand Down

0 comments on commit 7a30f62

Please sign in to comment.