Files
firebase-ios-sdk/Firestore/Example/Podfile
T
Gil 37affc1eb4 Have Firestore integration tests run all tests (#3342)
* Rename FIRQueryTests to FIRQueryUnitTests

* Make IntegrationTests targets run everything

The incremental cost of running all tests is an extra two seconds of run
time, but not starting the simulator three times during a build cuts
build times by ~25%.

* sync_project.rb generated changes

* sync_project.rb generated changes

* Remove AllTests_iOS aggregate target

* Add unit test deps to Firestore_IntegrationTests_*

* Fix BasicCompileTests on macOS and tvOS

* Run Firestore IntegrationTests only on Travis

This cuts build time for the job by about 25%, primarily due to not
having to start/deploy to the simulator repeatedly.
2019-07-12 15:57:03 -07:00

140 lines
3.7 KiB
Ruby

require 'pathname'
# Uncomment the next two lines for pre-release testing on internal repo
#source 'sso://cpdc-internal/firebase'
#source 'https://cdn.cocoapods.org/'
source 'https://cdn.cocoapods.org/'
use_frameworks!
post_install do |installer|
sync = Pathname.new(__FILE__).dirname.join('../../scripts/sync_project.rb')
system(sync.to_s)
end
target 'Firestore_Example_iOS' do
platform :ios, '8.0'
# The next line is the forcing function for the Firebase pod. The Firebase
# version's subspecs should depend on the component versions in their
# corresponding podspec's.
pod 'Firebase/CoreOnly', '6.4.0'
pod 'FirebaseAuth', :path => '../../'
pod 'FirebaseAuthInterop', :path => '../../'
pod 'FirebaseCore', :path => '../../'
pod 'GoogleUtilities', :path => '../../'
pod 'FirebaseFirestore', :path => '../../'
target 'Firestore_Tests_iOS' do
inherit! :search_paths
pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
pod 'OCMock'
pod 'leveldb-library'
end
target 'Firestore_Benchmarks_iOS' do
inherit! :search_paths
pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
end
target 'Firestore_IntegrationTests_iOS' do
inherit! :search_paths
pod 'FirebaseFirestoreSwift', :path => '../../'
pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
pod 'OCMock'
pod 'leveldb-library'
end
target 'Firestore_SwiftTests_iOS' do
pod 'FirebaseFirestoreSwift', :path => '../../'
end
target 'Firestore_FuzzTests_iOS' do
inherit! :search_paths
platform :ios, '9.0'
pod 'LibFuzzer', :podspec => 'LibFuzzer.podspec', :inhibit_warnings => true
pod '!ProtoCompiler'
end
end
target 'Firestore_Example_macOS' do
platform :osx, '10.11'
pod 'FirebaseAuth', :path => '../../'
pod 'FirebaseAuthInterop', :path => '../../'
pod 'FirebaseCore', :path => '../../'
pod 'GoogleUtilities', :path => '../../'
pod 'FirebaseFirestore', :path => '../../'
target 'Firestore_Tests_macOS' do
inherit! :search_paths
pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
pod 'OCMock'
pod 'leveldb-library'
end
target 'Firestore_IntegrationTests_macOS' do
inherit! :search_paths
pod 'FirebaseFirestoreSwift', :path => '../../'
pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
pod 'OCMock'
pod 'leveldb-library'
end
end
target 'Firestore_Example_tvOS' do
platform :tvos, '10.0'
pod 'FirebaseAuth', :path => '../../'
pod 'FirebaseAuthInterop', :path => '../../'
pod 'FirebaseCore', :path => '../../'
pod 'GoogleUtilities', :path => '../../'
pod 'FirebaseFirestore', :path => '../../'
target 'Firestore_Tests_tvOS' do
inherit! :search_paths
pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
pod 'OCMock'
pod 'leveldb-library'
end
target 'Firestore_IntegrationTests_tvOS' do
inherit! :search_paths
pod 'FirebaseFirestoreSwift', :path => '../../'
pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
pod 'OCMock'
pod 'leveldb-library'
end
end