Skip to content

Commit

Permalink
Merge branch 'ci' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
lhc70000 committed Jan 18, 2019
2 parents 2bbd83c + 945bcae commit a08d3f3
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#
# .travis.yml
# iina
#

# Enviornment
language: swift
osx_image: xcode10
os: osx

env:
global:
- LANG=en_US.UTF-8
- LC_ALL=en_US.UTF-8
- LANGUAGE=en_US.UTF-8

# CocoaPods
before_install:
- env
- locale
- gem install cocoapods -v 1.6.0.beta.2 --no-rdoc --no-ri --no-document --quiet
- pod install

# Build Jobs
script:
# Clean
- xcodebuild clean
# IINA main app
- xcodebuild -workspace iina.xcworkspace -scheme iina
# IINA cli
- xcodebuild -workspace iina.xcworkspace -scheme iina-cli

# After Build
notifications:
email: false
91 changes: 91 additions & 0 deletions iina.xcodeproj/xcshareddata/xcschemes/iina-cli.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0940"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E3DE8DC91FD8166A0021921C"
BuildableName = "iina-cli"
BlueprintName = "iina-cli"
ReferencedContainer = "container:iina.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E3DE8DC91FD8166A0021921C"
BuildableName = "iina-cli"
BlueprintName = "iina-cli"
ReferencedContainer = "container:iina.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
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 = "E3DE8DC91FD8166A0021921C"
BuildableName = "iina-cli"
BlueprintName = "iina-cli"
ReferencedContainer = "container:iina.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E3DE8DC91FD8166A0021921C"
BuildableName = "iina-cli"
BlueprintName = "iina-cli"
ReferencedContainer = "container:iina.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

0 comments on commit a08d3f3

Please sign in to comment.