Skip to content

Merge master into googledatatransport #2828

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 216 commits into from
Apr 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
216 commits
Select commit Hold shift + click to select a range
bd0b8e9
Collection Group Query Internals (#2378)
mikelehen Mar 8, 2019
3c10927
Update CHANGELOG for 5.18.0 (#2474)
ryanwilson Mar 9, 2019
7abbcab
Add missing nil check (#2488)
paulb777 Mar 9, 2019
d100e02
Restore GULLogger APIs, unit tests, and contents (#2504)
paulb777 Mar 11, 2019
8a86551
Delete test with new (#2514)
paulb777 Mar 11, 2019
6ef85e4
Change sample code to use "microsoft.com" instead of string constant,…
Yue-Wang-Google Mar 11, 2019
0956f5d
Send Firebase user agent from FIRInstanceIDCheckinService directly (#…
maksymmalyhin Mar 11, 2019
b2bcf8f
Use free() for memory allocated with malloc. (#2513)
rsgowman Mar 11, 2019
847d9dd
FIRDynamicLink: preserve all parameters passed to initializer (#2478)
maksymmalyhin Mar 11, 2019
c2f6b78
Add community supported tvOS and macOS for Functions (#2506)
paulb777 Mar 11, 2019
681a574
Add image on notification support (#2491)
charlotteliang Mar 11, 2019
97ccf37
Use UIScreen mainScreen bounds rather than UIApplicationDelegate wind…
christibbs Mar 11, 2019
061a97d
make VerifyAssertion is valid with pendingToken (#2521)
Yue-Wang-Google Mar 12, 2019
1363332
Update CHANGELOG for Firestore v1.1.0 (#2520)
wilhuff Mar 12, 2019
e53d552
Allow Bundle IDs that have a valid prefix - strict validation (#2515)
maksymmalyhin Mar 12, 2019
dc31021
Only assign message validation regex once (#2523)
ryanwilson Mar 12, 2019
8c16157
Remove unused loggerWithLevel parameter (#2524)
paulb777 Mar 12, 2019
7358e90
Fix build (unused parameter) under mac/cmake/clang (#2526)
rsgowman Mar 12, 2019
b67bc10
deprecate Microsoft and Yahoo Auth Provider ID (#2517)
Yue-Wang-Google Mar 12, 2019
6a38e08
FIAM release notes for M45 (#2532)
christibbs Mar 12, 2019
9c95d61
Update project and fix warnings (#2531)
wilhuff Mar 12, 2019
8328f78
Update CHANGELOG.md (#2536)
dmandar Mar 12, 2019
b1f909e
Don't create credential when VerifyAssertionResponse is empty (#2530)
Yue-Wang-Google Mar 13, 2019
216c77b
Adding deprecation warning and update CHANGELOG (#2535)
charlotteliang Mar 13, 2019
ee8d90a
Update Changelog for Auth v5.4.1 (#2538)
Yue-Wang-Google Mar 13, 2019
bf0a2cc
M45 Core release notes (#2537)
paulb777 Mar 13, 2019
7cbd945
Moving FIRAnalyticsConfiguration calls to Analytics. (#2516)
ryanwilson Mar 13, 2019
45d2fb2
extract errorMessage directly from response when server returns 200 (…
Yue-Wang-Google Mar 13, 2019
9f62410
Implement PatchingDeletedDocumentsDoesNothing test (#2528)
rsgowman Mar 13, 2019
37842fa
GoogleUtilities 5.4.0 (#2519)
paulb777 Mar 13, 2019
8061301
File directory for tvOS should change from NSApplicationSupportDirect…
charlotteliang Mar 13, 2019
6d24fa6
Update Auth CHANGELOG.md (#2549)
Mar 13, 2019
ed2b99a
Disable Facebook API tests (#2547)
Mar 13, 2019
ff76c8a
FIRInstanceIDCheckinService: make sure tasks are not submitted to an …
maksymmalyhin Mar 14, 2019
e524a8d
Fix GULResetLogger API breakage (#2552)
paulb777 Mar 14, 2019
8ed8504
Rename ApplicationSupportDirectory in IID tests (#2553)
charlotteliang Mar 14, 2019
fabaa8b
Clean the pod cache before starting. (#2554)
ryanwilson Mar 14, 2019
23191da
InstanceID changelog update (#2557)
maksymmalyhin Mar 14, 2019
9502e8d
Restore GoogleUtilities 5.3.7 - revert os_log changes (#2556)
paulb777 Mar 14, 2019
d5e197d
Overwrite CoreDiagnostics framework with framework passed in. (#2560)
ryanwilson Mar 14, 2019
2ac4f6d
Avoid using NSRegularExpression in FIRApp (b/65122393) (#2529)
maksymmalyhin Mar 15, 2019
92dcff1
Changes to build m45 zip (#2561)
paulb777 Mar 15, 2019
9c3cb40
Add a run-all-checks script (#2533)
wilhuff Mar 15, 2019
291cab6
Fix resources packaging. (#2567)
ryanwilson Mar 15, 2019
54763ba
Disable flaky tests in FIAM (#2568)
christibbs Mar 15, 2019
2d297eb
Fix method names in CHANGELOG (#2570)
ryanwilson Mar 15, 2019
0643b36
C++ migration: make `FIRFirestore` implementation delegate to core AP…
var-const Mar 15, 2019
2ae939b
Revert "Disable Facebook API tests (#2547)" (#2566)
Mar 15, 2019
1e6305f
Travis: when linting Firestore, only lint iOS (#2569)
wilhuff Mar 16, 2019
2f8570f
Revert "Revert "Disable Facebook API tests (#2547)" (#2566)" (#2573)
paulb777 Mar 16, 2019
966ad68
Fix typos (#2576)
paulb777 Mar 18, 2019
128e1b0
Retain OAuthProvider instance in sample app (#2577)
Yue-Wang-Google Mar 18, 2019
accf22b
Upgrade project to CocoaPods 1.6.1 (#2578)
wilhuff Mar 18, 2019
2d94344
update the changelog (#2583)
charlotteliang Mar 18, 2019
714bb34
Revert #2491 (#2582)
paulb777 Mar 18, 2019
e4dcc96
Eliminate Objective-C BOOL in Firestore/core (#2574)
wilhuff Mar 19, 2019
fd8947c
Port FIRSnapshotMetadata to C++ (#2580)
wilhuff Mar 19, 2019
6cd4f44
Create ObjectValue as a wrapper around a FieldValue which contains a …
rsgowman Mar 19, 2019
3c3fe79
Fix for issue where matchesshortlinkformat was returning true for all…
dmandar Mar 19, 2019
ef6c538
Release 5.19.0 (#2589)
paulb777 Mar 20, 2019
7babc0a
Port FIRQuerySnapshot to C++ (#2581)
wilhuff Mar 20, 2019
6259a98
Show qualified usage of Timestamp (#2594)
wilhuff Mar 20, 2019
38496c4
Add DelayedConstructor<T> (#2579)
wilhuff Mar 20, 2019
811251d
Exclude sub-packages of abseil that are problematic (#2597)
wilhuff Mar 20, 2019
dd0ae1d
Temporarily make FIAM tests non-required (#2596)
christibbs Mar 20, 2019
95cdd5d
Update tvOS and macOS README (#2598)
paulb777 Mar 20, 2019
438d49a
Update Carthage instructions for FirebaseMLNLSmartReplyBinary (#2599)
paulb777 Mar 21, 2019
ed2d74c
b/62961699: Use :nodoc: to prevent methods from showing up in referen…
mikelehen Mar 21, 2019
1578626
Remove stale roadmap items (#2605)
paulb777 Mar 21, 2019
1e08a55
GULLogger - count errors and warnigns (#2601)
maksymmalyhin Mar 21, 2019
38815b0
Add xcgmock (#2595)
wilhuff Mar 21, 2019
c4527b1
Rework gRPC certificate loading one last time (#2606)
wilhuff Mar 21, 2019
378f4db
Add support to [de]serialize missing FV types to the remote serialize…
rsgowman Mar 22, 2019
c6da7d6
GULLogger - issue count synchronous getters (#2610)
maksymmalyhin Mar 22, 2019
b34a278
Ensure token refresh notification is triggered any time a new token i…
charlotteliang Mar 22, 2019
7721591
Port FSTLocalDocumentsView to C++ (#2489)
wilhuff Mar 22, 2019
b76c843
Improve error message (#2614)
paulb777 Mar 22, 2019
3c469b3
Fix all IID analyzer warnings (#2613)
charlotteliang Mar 23, 2019
69c8e52
Avoid retain cycles in parent pointers (#2621)
wilhuff Mar 24, 2019
0738c0e
Fix handler for multiple calls of -[FIRInstanceID instanceIDWithHandl…
maksymmalyhin Mar 24, 2019
4cb3160
Clean up warnings in the Firestore project (#2622)
wilhuff Mar 25, 2019
c2a3d04
Port FSTDocumentSet to C++ (#2608)
wilhuff Mar 25, 2019
675e74a
Add missing #include <ostream> (#2616)
wilhuff Mar 25, 2019
8e37cfe
Alter testutil::*Doc to return shared_ptrs. (#2546)
rsgowman Mar 25, 2019
3057672
Support ERROR_INVALID_PROVIDER_ID in Firebase Auth. (#2629)
Yue-Wang-Google Mar 25, 2019
080c64d
Rework the IWYU test to handle types with multiple valid sources (#2633)
wilhuff Mar 25, 2019
ce07f8d
Port FSTListenOptions to C++ (#2617)
wilhuff Mar 26, 2019
315effe
Port FSTQueryListener to C++ (#2618)
wilhuff Mar 26, 2019
92747db
Remove default.profraw files (#2638)
paulb777 Mar 26, 2019
f28e768
Port FSTListenerRegistration to C++ (#2619)
wilhuff Mar 26, 2019
bddf94e
fix race condition that checkin can be deleted right after fetched (#…
charlotteliang Mar 26, 2019
aef8781
Create a swift utility for uploading project health metrics from Trav…
Corrob Mar 26, 2019
7d9df0f
Revert "Disable Facebook API tests (#2547)" (#2628)
Mar 26, 2019
67c35d2
FIRApp: thread safety fixes (#2639)
maksymmalyhin Mar 26, 2019
fd5ea77
Prepare for macOS test support (#2623)
wilhuff Mar 26, 2019
ba332be
Port FSTAsyncQueryListener to C++ (#2620)
wilhuff Mar 26, 2019
961e9b0
GULLogger: logged issue counting concurrency issue fix (#2627)
maksymmalyhin Mar 26, 2019
f811fb2
Update changelog for instanceID release (#2634)
charlotteliang Mar 26, 2019
7c26983
Update FDL CHANGELOG for M46. (#2646)
dmandar Mar 26, 2019
97a7c47
Update CHANGELOG.md (#2649)
Mar 26, 2019
c2a10a9
Add support for Firestore unit tests on macOS (#2641)
wilhuff Mar 26, 2019
d87b15f
fix analyze warning in fcm (#2650)
charlotteliang Mar 26, 2019
208f053
Disable gRPC death tests (#2643)
wilhuff Mar 27, 2019
0091515
add image on notification support (#2644)
charlotteliang Mar 27, 2019
3a24929
M46 Core Changelog (#2655)
paulb777 Mar 27, 2019
ca8e7f2
Build Firestore macOS on Travis (#2645)
wilhuff Mar 27, 2019
6603b86
Update CHANGELOG for Firestore v1.2.0 (#2656)
wilhuff Mar 27, 2019
6e5221b
Eliminate 'instanceof' checks for FSTFieldValue (#2651)
rsgowman Mar 27, 2019
36d92cf
GULAppDelegateSwizzlerTests fix (#2657)
maksymmalyhin Mar 27, 2019
10ef887
Upgrade gRPC-C++ to 0.0.8, enabling experimental tvOS support (#2648)
wilhuff Mar 27, 2019
f6747f7
Fix build warning (#2661)
paulb777 Mar 27, 2019
13c1c80
Add support for running Firestore integration tests (#2660)
wilhuff Mar 27, 2019
0729c9d
Add tvOS support to Firestore (#2662)
wilhuff Mar 28, 2019
2e8b918
Port FSTUsageValidation to C++ (#2670)
wilhuff Mar 28, 2019
04561fe
FIRMessagingRemoteNotificationsProxy - test only public API with no a…
maksymmalyhin Mar 28, 2019
e024df5
fix typo in iOS target (#2673)
charlotteliang Mar 28, 2019
17f9064
Release 5.20.0 (#2677)
paulb777 Mar 29, 2019
9854959
fix a few place that copybara not properly handle the change (#2678)
charlotteliang Mar 29, 2019
76a6983
Remove pendingToken from public API. It's added to public header by m…
Yue-Wang-Google Mar 29, 2019
145c111
Minimum osx to 10.11 (#2680)
paulb777 Mar 29, 2019
22cdb79
Fix a couple expected error messages in tests to match recent code ch…
mikelehen Mar 30, 2019
8ef6cf8
Fix use-after-free in DocumentReference::AddSnapshotListener (#2686)
wilhuff Mar 30, 2019
c416b10
Move reporting Firebase user agent from checkin to register (#2679)
maksymmalyhin Mar 31, 2019
1dd5dfa
Merge 5.20.1 back to master (#2691)
paulb777 Apr 1, 2019
1e29a34
Fix CMake build (#2694)
var-const Apr 1, 2019
3aff8d0
Add support of sso (#2684)
Apr 1, 2019
1a32a1f
Delete references to deprecated Crash and Invites (#2668)
paulb777 Apr 2, 2019
26e358f
Make fuzzing compile (#2693)
var-const Apr 2, 2019
aedc47c
Add quick instructions for building the Zip. (#2545)
ryanwilson Apr 3, 2019
8cc5d65
GULAppDelegateSwizzler - remote notifications methods and tvOS suppor…
maksymmalyhin Apr 3, 2019
c65ecf5
Port FIRDocumentChange to C++. (#2687)
mikelehen Apr 3, 2019
b2cd981
Revert "GULLogger - count errors and warnigns" (#2714)
maksymmalyhin Apr 3, 2019
deac5de
Project restruct (#2712)
Apr 3, 2019
aa60779
Bump GoogleUtilities version to 5.6.0 (#2715)
maksymmalyhin Apr 3, 2019
267e9a6
FIRMessagingRemoteNotificationsProxy updated to use GULAppDelegateSwi…
maksymmalyhin Apr 4, 2019
54c95ee
Minor bugfix wrt converting strings with embedded 0s (#2716)
rsgowman Apr 4, 2019
ec23996
Remove useMessagingDelegateForDirectChannel property (#2711)
charlotteliang Apr 4, 2019
b30d005
Implement oauth secret token in headful-lite. (#2663)
Yue-Wang-Google Apr 4, 2019
82ced2d
Add FSTDelegateValue which delegates to model::FieldValue (#2681)
rsgowman Apr 4, 2019
f7e893c
Don't init FIRAuthStoredUserManager with a nil keychainServiceName. (…
mikelehen Apr 4, 2019
10fb730
Update FIRAuthSettings.h (#2722)
Apr 4, 2019
0aa81c9
Revert "Revert "GULAppDelegateSwizzler - remote notifications methods…
maksymmalyhin Apr 4, 2019
f025da1
Remove deprecated API to connect direct channel (#2717)
charlotteliang Apr 5, 2019
45909c3
Remove unusedimport (#2730)
paulb777 Apr 5, 2019
cd507af
Auth - use GULAppDelegateSwizzler (#2710)
maksymmalyhin Apr 5, 2019
9bdcf3f
Remove missing analytics runtime warning (#2734)
paulb777 Apr 5, 2019
dae3442
Remove deprecated APIs (#2723)
Apr 5, 2019
43b3dc6
Set Swift back to version 4.2 (#2742)
Apr 5, 2019
e05d911
Remove implicit Analytics dependency from FIAM (#2739)
paulb777 Apr 7, 2019
491cec5
Auth and Messaging require GoogleUtilities 5.6 (#2744)
paulb777 Apr 8, 2019
626bfb5
Remove FIRAnalyticsConfiguration from Public header. (#2728)
ryanwilson Apr 8, 2019
6f040b3
Stop requiring multiple Core version updates (#2745)
paulb777 Apr 8, 2019
76a003f
Clean up unused Core error codes (#2737)
paulb777 Apr 8, 2019
fd6f93d
Begin migrating FIRLoggerService declarations to clients (#2720)
paulb777 Apr 8, 2019
3ad75ff
Fix Xcode's interactive error highlighting (#2752)
wilhuff Apr 8, 2019
c3f9340
Deprecate fetchProvidersForEmail (#2756)
Apr 8, 2019
58e36e1
Migrate FSTStringValue to FSTDelegateValue (#2719)
rsgowman Apr 8, 2019
da3c019
Remove implicit Analytics dependency from DynamicLinks (#2738)
paulb777 Apr 8, 2019
aaddd56
Remove support for deprecated API for Firebase 6 (#2759)
Yue-Wang-Google Apr 8, 2019
beef575
Changelog updates for Messaging, Auth and InstanceID (#2758)
maksymmalyhin Apr 8, 2019
67e7941
`pod lib lint GoogleUtilities.podspec` warnings fixes (#2754)
maksymmalyhin Apr 8, 2019
4ae6843
Revert Twitter Auth deprecation because devepler may want to build th…
Yue-Wang-Google Apr 8, 2019
9da9f86
Add license files for Google Utilities 3rd party code (#2767)
paulb777 Apr 8, 2019
cd8eff5
Use `if: type = cron` instead of `if_cron.sh` (#2764)
maksymmalyhin Apr 8, 2019
0212c46
remove deprecated token API (#2741)
charlotteliang Apr 8, 2019
417cfd7
Bump FirebaseCore to 6.0.0 (#2755)
paulb777 Apr 8, 2019
827566c
Fix minor typo (#2769)
paulb777 Apr 9, 2019
f590c93
Private headers need to also be part of public (#2771)
paulb777 Apr 9, 2019
5581499
Cocoapods 1.7.0 multiproject support (b/128794527) (#2751)
maksymmalyhin Apr 9, 2019
8edb8f5
Remove deprecated RTDB API (#2770)
paulb777 Apr 9, 2019
36ea0a7
Use development version of IID for FIAM testing (#2772)
paulb777 Apr 9, 2019
d5cb5f7
Remove deprecated API in FDLURLComponents. (#2768)
dmandar Apr 9, 2019
edd4bd7
Port FIRFirestoreSource to C++ Source (#2749)
wilhuff Apr 9, 2019
423e374
FirebaseCore changelog - cocoapods 1.7.0 (#2776)
maksymmalyhin Apr 9, 2019
f358490
Use NSCachesDirectory for database storage on tvOS (#2777)
wilhuff Apr 9, 2019
0f093fb
Undeprecate +[FIRFirestore enableLogging:] (#2773)
wilhuff Apr 9, 2019
65c7c9f
M47 FirebaseCore release notes (#2779)
paulb777 Apr 9, 2019
384ccd8
Move input validation logic from FIRFieldPath to model::FieldPath. (#…
mikelehen Apr 9, 2019
eca03aa
Update CHANGELOG for Firestore v1.3.0 (#2785)
wilhuff Apr 9, 2019
8ab26dd
remove test header from source code (#2783)
charlotteliang Apr 9, 2019
7e6cc0d
Revert "Move input validation logic from FIRFieldPath to model::Field…
mikelehen Apr 9, 2019
2935f29
update CHANGELOG for Messaging and InstanceID (#2787)
charlotteliang Apr 9, 2019
71accc4
Update CHANGELOG.md (#2781)
Apr 10, 2019
955ef6b
Adding missing LICENSE files (#2791)
davidair Apr 10, 2019
c0e4211
Fix FSTDelegateValue: property -> ivar (#2778)
rsgowman Apr 10, 2019
754d5c0
Expose Collection Group queries. (#2786)
mikelehen Apr 10, 2019
04b2de7
FDL release notes for M47 (#2792)
dmandar Apr 10, 2019
5115994
Fix 1P build issue (#2793)
paulb777 Apr 10, 2019
423959a
Fix headers imports moved private (#2784)
maksymmalyhin Apr 10, 2019
b995836
Add initializer used by Swift 1p tests (#2794)
maksymmalyhin Apr 10, 2019
cbeec8f
Fix internal build target (#2795)
paulb777 Apr 10, 2019
53d7ee7
Remove spaces in file paths (#2798)
Apr 10, 2019
9c72e1a
InstanceID - podspec lint fix (#2796)
maksymmalyhin Apr 10, 2019
071d6e9
FIRErrorCodeDurableDeepLinkFailed is for 3P only (#2797)
paulb777 Apr 10, 2019
47bd60a
Move collectionGroup method out of the Internal category (#2802)
wilhuff Apr 11, 2019
64b270b
Temporarily restore setAnalyticsCollectionEnabled (#2803)
paulb777 Apr 11, 2019
9d0f07b
Have Travis test firestore-master
wilhuff Apr 11, 2019
09010cf
Fix a couple small issues I tripped over today. (#2806)
mikelehen Apr 11, 2019
2815f14
Restore kFIRLoggerCrash for internal clients (#2809)
paulb777 Apr 11, 2019
279a095
log command execution (#2811)
wilhuff Apr 11, 2019
9ccd97a
Use enum for DelayedConstructor<> so XCode can decode it in the debug…
mikelehen Apr 11, 2019
2a97c2e
Port FSTRelationFilterOperator to Filter::Operator (#2812)
wilhuff Apr 11, 2019
8109c83
Adding a missing LorOrRun (#2814)
davidair Apr 11, 2019
e3cafd4
GoogleUtilities to 5.8.0 (#2813)
paulb777 Apr 11, 2019
db2701b
Take 2: Move input validation logic from FIRFieldPath to model::Field…
mikelehen Apr 11, 2019
8c35679
Skip tests on pod repo push (#2815)
paulb777 Apr 12, 2019
00feaca
Update GoogleUtilities CHANGELOG (#2817)
paulb777 Apr 12, 2019
63e3cb6
Add quick instructions for building the Zip. (#2819)
ryanwilson Apr 12, 2019
b6a0980
Push `firebase_version` tag after creating it. (#2820)
ryanwilson Apr 12, 2019
89cc53e
Update FirebaseSDKs.textproto with new fields. (#2818)
ryanwilson Apr 12, 2019
be25fd6
Revert "Have Travis test firestore-master"
wilhuff Apr 12, 2019
a3adb63
Revert "log command execution (#2811)"
wilhuff Apr 12, 2019
f4d9c99
Merge branch 'master' into firestore-master
wilhuff Apr 12, 2019
58205aa
Tunnel underlying NSErrors through C++ Status (#2808)
wilhuff Apr 12, 2019
97d4ab1
Add travis check for filename spaces (#2821)
paulb777 Apr 12, 2019
280da58
Merge branch 'master' into mph-googledatatransport
mikehaney24 Apr 12, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,6 @@ Ninja

# CocoaPods generate
gen/

# b/111916494
default.profraw
116 changes: 89 additions & 27 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ cache:
- bundler
- cocoapods

stages:
- checks
- test
- name: cocoapods_compatibility_check
if: type = cron

jobs:
include:
- stage: checks
Expand All @@ -13,13 +19,7 @@ jobs:
- brew install clang-format
- brew install swiftformat
script:
- ./scripts/check_whitespace.sh
- ./scripts/check_copyright.sh
- ./scripts/check_no_module_imports.sh
- ./scripts/check_test_inclusion.py
- ./scripts/style.sh test-only $TRAVIS_COMMIT_RANGE
# Google C++ style compliance
- ./scripts/lint.sh $TRAVIS_COMMIT_RANGE
- ./scripts/check.sh --test-only $TRAVIS_COMMIT_RANGE

# The order of builds matters (even though they are run in parallel):
# Travis will schedule them in the same order they are listed here.
Expand Down Expand Up @@ -89,38 +89,40 @@ jobs:
script:
# Eliminate the one warning from BoringSSL when CocoaPods 1.6.0 is available.
# The travis_wait is necessary because the command takes more than 10 minutes.
- travis_wait 45 ./scripts/if_changed.sh ./scripts/pod_lib_lint.sh FirebaseFirestore.podspec --allow-warnings --no-subspecs
- travis_wait 30 ./scripts/if_changed.sh ./scripts/pod_lib_lint.sh FirebaseFirestore.podspec --platforms=ios --allow-warnings --no-subspecs

# pod lib lint to check build and warnings for static library build - only on cron jobs
- stage: test
if: type = cron
env:
- PROJECT=Firebase PLATFORM=iOS METHOD=pod-lib-lint
before_install:
- ./scripts/if_cron.sh ./scripts/install_prereqs.sh
- ./scripts/install_prereqs.sh
script:
- travis_retry ./scripts/if_cron.sh ./scripts/pod_lib_lint.sh GoogleUtilities.podspec --use-libraries
- travis_retry ./scripts/if_cron.sh ./scripts/pod_lib_lint.sh FirebaseCore.podspec --use-libraries
- travis_retry ./scripts/if_cron.sh ./scripts/pod_lib_lint.sh FirebaseAnalyticsInterop.podspec --use-libraries
- travis_retry ./scripts/if_cron.sh ./scripts/pod_lib_lint.sh FirebaseAuth.podspec --use-libraries
- travis_retry ./scripts/if_cron.sh ./scripts/pod_lib_lint.sh FirebaseAuthInterop.podspec --use-libraries
- travis_retry ./scripts/if_cron.sh ./scripts/pod_lib_lint.sh FirebaseDatabase.podspec --use-libraries
- travis_retry ./scripts/if_cron.sh ./scripts/pod_lib_lint.sh FirebaseDynamicLinks.podspec --use-libraries
- travis_retry ./scripts/if_cron.sh ./scripts/pod_lib_lint.sh FirebaseInstanceID.podspec --use-libraries
- travis_retry ./scripts/pod_lib_lint.sh GoogleUtilities.podspec --use-libraries
- travis_retry ./scripts/pod_lib_lint.sh FirebaseCore.podspec --use-libraries
- travis_retry ./scripts/pod_lib_lint.sh FirebaseAnalyticsInterop.podspec --use-libraries
- travis_retry ./scripts/pod_lib_lint.sh FirebaseAuth.podspec --use-libraries
- travis_retry ./scripts/pod_lib_lint.sh FirebaseAuthInterop.podspec --use-libraries
- travis_retry ./scripts/pod_lib_lint.sh FirebaseDatabase.podspec --use-libraries
- travis_retry ./scripts/pod_lib_lint.sh FirebaseDynamicLinks.podspec --use-libraries
- travis_retry ./scripts/pod_lib_lint.sh FirebaseInstanceID.podspec --use-libraries
# The Protobuf dependency of FirebaseMessaging has warnings with --use-libraries
- travis_retry ./scripts/if_cron.sh ./scripts/pod_lib_lint.sh FirebaseMessaging.podspec --use-libraries --allow-warnings
- travis_retry ./scripts/if_cron.sh ./scripts/pod_lib_lint.sh FirebaseStorage.podspec --use-libraries
- travis_retry ./scripts/if_cron.sh ./scripts/pod_lib_lint.sh FirebaseInAppMessaging.podspec --use-libraries
- travis_retry ./scripts/if_cron.sh ./scripts/pod_lib_lint.sh FirebaseInAppMessagingDisplay.podspec --use-libraries
- travis_retry ./scripts/pod_lib_lint.sh FirebaseMessaging.podspec --use-libraries --allow-warnings
- travis_retry ./scripts/pod_lib_lint.sh FirebaseStorage.podspec --use-libraries
- travis_retry ./scripts/pod_lib_lint.sh FirebaseInAppMessaging.podspec --use-libraries
- travis_retry ./scripts/pod_lib_lint.sh FirebaseInAppMessagingDisplay.podspec --use-libraries

- stage: test
if: type = cron
env:
- PROJECT=Firestore PLATFORM=iOS METHOD=pod-lib-lint
before_install:
- ./scripts/if_cron.sh ./scripts/install_prereqs.sh
- ./scripts/install_prereqs.sh
script:
# TBD - non-portable path warnings
# The travis_wait is necessary because the command takes more than 10 minutes.
- travis_wait 45 ./scripts/if_cron.sh ./scripts/pod_lib_lint.sh FirebaseFirestore.podspec --use-libraries --allow-warnings --no-subspecs
- travis_wait 45 ./scripts/pod_lib_lint.sh FirebaseFirestore.podspec --use-libraries --allow-warnings --no-subspecs

# GoogleDataTransport unit tests and pod linting using the default Xcode version.
- stage: test
Expand All @@ -144,12 +146,13 @@ jobs:

# Daily test for symbol collisions between Firebase and CocoaPods.
- stage: test
if: type = cron
env:
- PROJECT=SymbolCollision PLATFORM=iOS METHOD=xcodebuild
before_install:
- ./scripts/if_cron.sh ./scripts/install_prereqs.sh
- ./scripts/install_prereqs.sh
script:
- travis_retry ./scripts/if_cron.sh ./scripts/build.sh $PROJECT $PLATFORM $METHOD
- travis_retry ./scripts/build.sh $PROJECT $PLATFORM $METHOD

# Alternative platforms

Expand Down Expand Up @@ -181,6 +184,22 @@ jobs:
script:
- travis_retry ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM

- stage: test
env:
- PROJECT=Firestore PLATFORM=macOS METHOD=xcodebuild
before_install:
- ./scripts/if_changed.sh ./scripts/install_prereqs.sh
script:
- travis_retry ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM

- stage: test
env:
- PROJECT=Firestore PLATFORM=tvOS METHOD=xcodebuild
before_install:
- ./scripts/if_changed.sh ./scripts/install_prereqs.sh
script:
- travis_retry ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM

# Firestore sanitizers

- stage: test
Expand Down Expand Up @@ -219,16 +238,57 @@ jobs:
script:
- travis_retry ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM $METHOD

# Validate Cocoapods configurations
# This may take long time, so we would like to run it only once all other tests pass
# Validate Cocoapods 1.7.0 compatibility
- stage: cocoapods_compatibility_check
env:
- POD_CONFIG_DIR=Cocoapods1_7_0_multiprojects_frameworks
script:
- travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile

- stage: cocoapods_compatibility_check
env:
- POD_CONFIG_DIR=Cocoapods1_7_0_frameworks
script:
- travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile

- stage: cocoapods_compatibility_check
env:
- POD_CONFIG_DIR=Cocoapods1_7_0_multiprojects_staticLibs
script:
- travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile

- stage: cocoapods_compatibility_check
env:
- POD_CONFIG_DIR=Cocoapods1_7_0_staticLibs
script:
- travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile

# Validate Cocoapods 1.6.1 compatibility
- stage: cocoapods_compatibility_check
env:
- POD_CONFIG_DIR=Cocoapods1_6_1_frameworks
script:
- travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile

- stage: cocoapods_compatibility_check
env:
- POD_CONFIG_DIR=Cocoapods1_6_1_staticLibs
script:
- travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile

allow_failures:
# Run fuzz tests only on cron jobs.
- stage: test
if: type = cron
env:
- PROJECT=Firestore PLATFORM=iOS METHOD=fuzz
before_install:
- ./scripts/if_cron.sh ./scripts/install_prereqs.sh
- ./scripts/install_prereqs.sh
script:
# The travis_wait is necessary because fuzzing runs for 40 minutes.
- travis_wait 45 ./scripts/if_cron.sh ./scripts/fuzzing_ci.sh
- travis_wait 45 ./scripts/fuzzing_ci.sh

# TODO(varconst): UBSan for CMake. UBSan failures are non-fatal by default,
# need to make them fatal for the purposes of the test run.
Expand All @@ -242,6 +302,8 @@ jobs:
- PROJECT=Firestore PLATFORM=iOS METHOD=xcodebuild SANITIZERS=asan
- env:
- PROJECT=Firestore PLATFORM=iOS METHOD=xcodebuild SANITIZERS=tsan
- env:
- PROJECT=InAppMessaging PLATFORM=iOS METHOD=xcodebuild

# TODO(varconst): enable if it's possible to make this flag work on build
# stages. It's supposed to avoid waiting for jobs that are allowed to fail
Expand Down
7 changes: 1 addition & 6 deletions Carthage.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,16 @@ binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseABTestingBinary.j
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAdMobBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseCrashBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDatabaseBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDynamicLinksBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFunctionsBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseInAppMessagingBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseInAppMessagingDisplayBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseInvitesBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMessagingBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMLModelInterpreterBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMLNLLanguageIDBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMLNLSmartReplyBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMLNaturalLanguageBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMLVisionBarcodeModelBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMLVisionBinary.json"
Expand All @@ -66,10 +65,6 @@ binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseStorageBinary.jso
`Copy Bundle Resources` Build Phase :
- For Firestore:
- ./Carthage/Build/iOS/FirebaseFirestore.framework/gRPCCertificates.bundle
- For Invites:
- ./Carthage/Build/iOS/FirebaseInvites.framework/GoogleSignIn.bundle
- ./Carthage/Build/iOS/FirebaseInvites.framework/GPPACLPickerResources.bundle
- ./Carthage/Build/iOS/FirebaseInvites.framework/GINInviteResources.bundle
- For FirebaseMLVisionFaceModel:
- ./Carthage/Build/iOS/FaceDetector.framework/GoogleMVFaceDetectorResources.bundle
- For FirebaseMLVisionTextModel:
Expand Down
Loading