Switch Travis build script to leverage xctool 0.1.7, which supports implicit dependencies. Simplify xctool invocation
This commit is contained in:
parent
ab3c2ef73f
commit
7fa3f45bf2
4 changed files with 5 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
language: objective-c
|
||||
before_install:
|
||||
- brew update
|
||||
- brew install xctool --HEAD
|
||||
- brew uninstall xctool && brew install https://raw.github.com/fpotter/homebrew/246a1439dab49542d4531ad7e1bac7048151f601/Library/Formula/xctool.rb
|
||||
- gem install cocoapods -v 0.22.2
|
||||
- cd Tests && pod install && cd $TRAVIS_BUILD_DIR
|
||||
script: rake test
|
||||
|
|
|
|||
4
Rakefile
4
Rakefile
|
|
@ -5,12 +5,12 @@ namespace :test do
|
|||
|
||||
desc "Run the AFNetworking Tests for iOS"
|
||||
task :ios => :prepare do
|
||||
$ios_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'iOS Tests' -sdk iphonesimulator -configuration Release build build-tests run-tests -test-sdk iphonesimulator")
|
||||
$ios_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'iOS Tests' -sdk iphonesimulator -configuration Release test -test-sdk iphonesimulator")
|
||||
end
|
||||
|
||||
desc "Run the AFNetworking Tests for Mac OS X"
|
||||
task :osx => :prepare do
|
||||
$osx_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'OS X Tests' -sdk macosx -configuration Release build build-tests run-tests -test-sdk macosx")
|
||||
$osx_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'OS X Tests' -sdk macosx -configuration Release test -test-sdk macosx")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "NO">
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "NO">
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue