Skip to content

Commit

Permalink
use a single scheme for all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
DenTelezhkin committed Feb 13, 2016
1 parent 8b3b62d commit 670f47e
Show file tree
Hide file tree
Showing 12 changed files with 140 additions and 1,120 deletions.
21 changes: 9 additions & 12 deletions .travis.yml
Expand Up @@ -4,25 +4,22 @@ language: objective-c
env:
global:
- IOS_SDK=iphonesimulator9.2
- IOS_SCHEME="Transporter-iOS"
- TVOS_SDK=appletvsimulator9.1
- TVOS_SCHEME="Transporter-tvOS"
- OSX_SCHEME="Transporter-OSX"
- OSX_SDK=macosx10.11
matrix:
- DESTINATION="OS=9.2,name=iPad 2" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME"
- DESTINATION="OS=9.2,name=iPad Air" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME"
- DESTINATION="OS=9.2,name=iPhone 5" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME"
- DESTINATION="OS=9.2,name=iPhone 6s" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME"
- DESTINATION="OS=8.4,name=iPhone 6" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME"
- DESTINATION="OS=8.4,name=iPad Air" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME"
- DESTINATION="OS=9.1,name=Apple TV 1080p" SDK="$TVOS_SDK" SCHEME="$TVOS_SCHEME"
- DESTINATION="arch=x86_64" SDK="$OSX_SDK" SCHEME="$OSX_SCHEME"
- DESTINATION="OS=9.2,name=iPad 2" SDK="$IOS_SDK"
- DESTINATION="OS=9.2,name=iPad Air" SDK="$IOS_SDK"
- DESTINATION="OS=9.2,name=iPhone 5" SDK="$IOS_SDK"
- DESTINATION="OS=9.2,name=iPhone 6s" SDK="$IOS_SDK"
- DESTINATION="OS=8.4,name=iPhone 6" SDK="$IOS_SDK"
- DESTINATION="OS=8.4,name=iPad Air" SDK="$IOS_SDK"
- DESTINATION="OS=9.1,name=Apple TV 1080p" SDK="$TVOS_SDK"
- DESTINATION="arch=x86_64" SDK="$OSX_SDK"

script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -scheme "$SCHEME" -configuration Debug -sdk "$SDK" -destination "$DESTINATION" test -enableCodeCoverage YES "IDEBuildOperationMaxNumberOfConcurrentCompileTasks=`sysctl -n hw.ncpu`" | xcpretty
- xcodebuild -scheme "Transporter" -configuration Debug -sdk "$SDK" -destination "$DESTINATION" test -enableCodeCoverage YES "IDEBuildOperationMaxNumberOfConcurrentCompileTasks=`sysctl -n hw.ncpu`" | xcpretty

after_success:
- bash <(curl -s https://codecov.io/bash)
650 changes: 45 additions & 605 deletions Transporter.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

99 changes: 0 additions & 99 deletions Transporter.xcodeproj/xcshareddata/xcschemes/Tests-OSX.xcscheme

This file was deleted.

100 changes: 0 additions & 100 deletions Transporter.xcodeproj/xcshareddata/xcschemes/Tests-iOS.xcscheme

This file was deleted.

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0710"
LastUpgradeVersion = "0720"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -16,9 +16,9 @@
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9A4F5FD41BF89BA400E731F4"
BuildableName = "Tests-tvOS.xctest"
BlueprintName = "Tests-tvOS"
BlueprintIdentifier = "9AC8C9FB1969BBB5006F1EAC"
BuildableName = "Tests.xctest"
BlueprintName = "Tests"
ReferencedContainer = "container:Transporter.xcodeproj">
</BuildableReference>
</TestableReference>
Expand Down
114 changes: 0 additions & 114 deletions Transporter.xcodeproj/xcshareddata/xcschemes/Transporter-OSX.xcscheme

This file was deleted.

0 comments on commit 670f47e

Please sign in to comment.