Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
449 commits
Select commit Hold shift + click to select a range
9037e9b
Fix compilation on CentOS 7
SylvestreG Apr 26, 2019
61cdca5
Merge pull request #2241 from ngie-eign:fix-wsign-conversion-fallout
gennadiycivil Apr 26, 2019
82f9c8d
Googletest export
gennadiycivil Apr 29, 2019
87348c2
Removing obsolete codegear and msvc 2010
gennadiycivil Apr 29, 2019
3c911d2
Removing obsolete msvc 2005 and 2010
gennadiycivil Apr 29, 2019
9997a83
Merge pull request #2242 from SylvestreG:master
gennadiycivil Apr 29, 2019
ca642a9
Fix -Wsign-conversion error by adding static_cast
daquexian May 2, 2019
63be3dc
Googletest export
gennadiycivil Apr 29, 2019
bf3ef5c
Merge pull request #2245 from daquexian:fix_wsign_conversion
gennadiycivil May 3, 2019
3f5b5b8
Googletest export
invalid-email-address May 3, 2019
5299815
Googletest export
invalid-email-address May 8, 2019
2fc2383
Use std::addressof to instead of plain '&'.
May 12, 2019
9d4cde4
Added docs for testing::RegisterTest
gennadiycivil May 13, 2019
5b4a135
add unit test for overload & operator
May 13, 2019
03273a8
Merge pull request #2254 from chaoran:master
gennadiycivil May 17, 2019
f71fb4f
Update advanced.md
gennadiycivil May 17, 2019
699943f
Fix typo introduced in 63be3dcc245 (maintaners -> maintainers)
ngie-eign May 20, 2019
2f58f41
unbreak windows build
741g May 22, 2019
928f7a3
removing codegear
gennadiycivil May 22, 2019
a67e9a8
removing msvc
gennadiycivil May 22, 2019
feb55f2
removing msvc
gennadiycivil May 22, 2019
dc792bc
Update README.md
gennadiycivil May 22, 2019
88f0493
Merge pull request #2259 from ngie-eign:fix-maintainers-typo
gennadiycivil May 22, 2019
7f1c0f6
Merge pull request #2260 from 741g:master
gennadiycivil May 23, 2019
a2059b4
Update CONTRIBUTING.md
gennadiycivil May 27, 2019
f5edb4f
Update CONTRIBUTING.md
gennadiycivil May 27, 2019
97d8c47
Suppress CMake policy warning (CMP0048)
mbrobbel May 28, 2019
899c082
Googletest export
invalid-email-address May 29, 2019
8ffb7e5
Merge pull request #2264 from mbrobbel:suppress-cmp0048-warning
gennadiycivil May 30, 2019
6044c26
Fuse gtest-spi.h into the resulting header.
kalaxy May 30, 2019
711fccf
Don't allow signed/unsigned wchar_t in gcc 9 and later
Peter-Levine Jun 4, 2019
08a68b6
Googletest export
gennadiycivil Jun 3, 2019
31200de
Googletest export
invalid-email-address Jun 5, 2019
3ff7cd0
fix typo
goudan-er Jun 6, 2019
0183a45
Merge pull request #2270 from Peter-Levine:fix-signed-wchar
gennadiycivil Jun 7, 2019
577daed
Merge pull request #2274 from goudan-er/master
gennadiycivil Jun 7, 2019
da10da0
Merge pull request #2268 from kalaxy/fuse_spi_in_header
gennadiycivil Jun 7, 2019
60a6d5f
removing msvc solution, as CMake and Bazel is the only supporeted bui…
gennadiycivil Jun 10, 2019
b93980d
removing xcode files , as CMake and Bazel is the only supporeted buil…
gennadiycivil Jun 10, 2019
527a493
removing build-aux files , as CMake and Bazel is the only supporeted …
gennadiycivil Jun 10, 2019
6f79a3b
removing gmock msvc solution, as CMake and Bazel is the only supporet…
gennadiycivil Jun 10, 2019
fbcb2eb
removing obsolete language from docs, CMake and Bazel is the only sup…
gennadiycivil Jun 10, 2019
076b7f7
remove obsolete codegear files
gennadiycivil Jun 10, 2019
89656dd
Update README.md
gennadiycivil Jun 12, 2019
fa9a476
Formatting Changes, README
gennadiycivil Jun 12, 2019
af4c2cb
Formatting Changes
gennadiycivil Jun 12, 2019
e580d99
Setting CMP0054 policy to NEW. This allows to use the string "SHARED"…
discopt Jun 12, 2019
d515158
Fixed issue #2284 (Incompatibility with C++17)
tomalakgeretkal Jun 13, 2019
26afdba
Merge pull request #2283 from xammy:cmake-cmp0054
gennadiycivil Jun 13, 2019
6b8c138
Removing make and automake. The only supported build systems are Baze…
gennadiycivil Jun 13, 2019
84a498d
Merge pull request #2285 from tomalakgeretkal:c++17-fix
gennadiycivil Jun 13, 2019
74905ef
Also remove googlemock/scripts/gmock-config.in
gennadiycivil Jun 13, 2019
807d590
Finish removing autotools
gennadiycivil Jun 13, 2019
7ada9b6
Finish removing autotools
gennadiycivil Jun 13, 2019
38d967e
doc is still valid
gennadiycivil Jun 13, 2019
f7c178e
Makefiles are no longer supported. Adding pseudo-break with their imp…
gennadiycivil Jun 13, 2019
41961e9
Merge branch 'master' of https://github.com/google/googletest
gennadiycivil Jun 14, 2019
cd6b9ae
googlemock/docs/CookBook.md small doc test
gennadiycivil Jun 14, 2019
e110929
gennadiycivil Jun 14, 2019
b72b1be
docs/primer: Fixed usage of test case
PhilLab Jun 16, 2019
fd20d1e
Merge pull request #2286 from gennadiycivil/master
gennadiycivil Jun 17, 2019
176eccf
Merge pull request #2287 from PhilLab/patch-1
gennadiycivil Jun 17, 2019
6c971ca
testing, explicitly specify compiler
gennadiycivil Jun 17, 2019
919142f
testing with bazel 0.26.1
gennadiycivil Jun 17, 2019
1e5ad17
testing with bazel 0.26.1
gennadiycivil Jun 17, 2019
4b6a3cc
bazel 0.26.1
gennadiycivil Jun 17, 2019
93d69df
bazel 0.26.1
gennadiycivil Jun 17, 2019
fe3a10b
revert travis.yml, irrelevant
gennadiycivil Jun 17, 2019
d1185b9
Googletest export
gennadiycivil Jun 17, 2019
d700357
Googletest export
invalid-email-address Jun 17, 2019
0276727
Revert "testing, explicitly specify compiler"
gennadiycivil Jun 17, 2019
c1a584d
Merge branch 'master' of https://github.com/google/googletest
gennadiycivil Jun 17, 2019
60b9298
Fixing CI break by going to bazel 0.26.1
gennadiycivil Jun 17, 2019
ed43ecf
Merge pull request #2288 from gennadiycivil:master
gennadiycivil Jun 18, 2019
be8d014
Googletest export
gennadiycivil Jun 17, 2019
4f01603
Merge pull request #2290 from gennadiycivil:master
gennadiycivil Jun 18, 2019
ee32b72
Googletest export
gennadiycivil Jun 18, 2019
1d721a7
Googletest export
gennadiycivil Jun 18, 2019
39ea9e8
Remove outdated from README
gennadiycivil Jun 19, 2019
2f42d76
Merge branch 'master' of github.com:google/googletest
gennadiycivil Jun 19, 2019
ba68290
small docs restucture and cleanup
gennadiycivil Jun 19, 2019
ac31db8
small docs restucture and cleanup
gennadiycivil Jun 19, 2019
5ed950c
gennadiycivil Jun 19, 2019
152c7df
missed the actual file in previous commit
gennadiycivil Jun 19, 2019
b467659
Incremental doc changes in preparation for doc sync
gennadiycivil Jun 19, 2019
ce58a59
Remove google internal links from documentation on github
rmstar Jun 19, 2019
2a1a3e2
Merge pull request #2296 from rmstar/replace_golinks
gennadiycivil Jun 24, 2019
c1845f6
Update README.md
gennadiycivil Jun 24, 2019
834dff3
Documentation sync in preparation to including docs with full source …
gennadiycivil Jun 24, 2019
437e100
Documentation sync in preparation to including docs with full source …
gennadiycivil Jun 24, 2019
dfb5e22
Travis CI: The sudo: tag is now deprecated in Travis CI
cclauss Jul 1, 2019
ee3aa83
Fix bad advice in cook book (#2308)
sam0109 Jul 10, 2019
275bbc7
rename and apply snake_case on CheatSheet.md
kuzkry Jul 13, 2019
382cdf9
rename and apply snake_case on DesignDoc.md
kuzkry Jul 13, 2019
6078089
rename and apply snake_case on Documentation.md
kuzkry Jul 13, 2019
92d92f2
rename and apply snake_case on ForDummies.md
kuzkry Jul 13, 2019
1d5b7cc
rename and apply snake_case on FrequentlyAskedQuestions.md
kuzkry Jul 13, 2019
b138afd
rename and apply snake_case on KnownIssues.md
kuzkry Jul 13, 2019
f81dbd6
add missing references to DesignDoc and KnownIssues
kuzkry Jul 13, 2019
5c4d53f
Merge pull request #2326 from kuzkry/missing-references-to-documentation
gennadiycivil Jul 15, 2019
b0568dc
fix a broken link
kuzkry Jul 13, 2019
b97b96a
Merge pull request #2309 from cclauss/patch-1
gennadiycivil Jul 15, 2019
31ff597
Preparation for including docs in round-trip with OSS
gennadiycivil Jul 15, 2019
afa9143
Merge pull request #2324 from kuzkry/fix-broken-link
gennadiycivil Jul 15, 2019
01573aa
Merge branch 'master' of github.com:google/googletest
gennadiycivil Jul 15, 2019
073a2da
Preparation for including docs in round-trip with OSS
gennadiycivil Jul 15, 2019
5af948b
Preparation for including docs in round-trip with OSS
gennadiycivil Jul 15, 2019
947aeab
Preparation for including docs in round-trip with OSS
gennadiycivil Jul 15, 2019
e4f097b
Googletest export
invalid-email-address Jul 10, 2019
f38f4d8
Googletest export
invalid-email-address Jul 15, 2019
3d9cdd5
Googletest export
gennadiycivil Jul 16, 2019
4ab6f4d
Preparation for including docs in round-trip with OSS. Manual review …
gennadiycivil Jul 16, 2019
f899e81
Preparation for including docs in round-trip with OSS. Manual review …
gennadiycivil Jul 16, 2019
1f80960
Add missing <functional> include
adambadura Jul 11, 2019
6077f44
Merge pull request #2332 from adambadura:AddMissingInclude
gennadiycivil Jul 17, 2019
0ef404e
Googletest export
invalid-email-address Jul 17, 2019
63e878b
Preparation for including docs in round-trip with OSS, Manual merge, …
gennadiycivil Jul 17, 2019
ad52f7d
Merge branch 'master' of github.com:google/googletest
gennadiycivil Jul 17, 2019
96bf3b1
remove outdated
gennadiycivil Jul 17, 2019
2ef13f5
remove outdated
gennadiycivil Jul 17, 2019
adb4907
Update primer.md
RosieBaish Jul 18, 2019
cc49f5b
document a missing parent class
kuzkry Jul 18, 2019
2fa7be9
explicitly show overriding to align examples to their comments
kuzkry Jul 18, 2019
34ddfff
Manual docs tweaks still in preparation for including docs with code …
gennadiycivil Jul 18, 2019
15756aa
Manual docs tweaks still in preparation for including docs with code …
gennadiycivil Jul 18, 2019
a743249
Manual docs tweaks still in preparation for including docs with code …
gennadiycivil Jul 18, 2019
b77e5c7
Manual docs tweaks still in preparation for including docs with code …
gennadiycivil Jul 18, 2019
d64e4cf
Merge remote-tracking branch 'upstream/master' into primer_md_table_u…
chris-baish Jul 19, 2019
af11cda
Moved table to single lines
chris-baish Jul 19, 2019
3525e39
Moved explanation to single line as well
chris-baish Jul 19, 2019
e93b5e0
Fix small errors in primer.md
Jauler Jul 23, 2019
0a5efc1
Googletest export
gennadiycivil Jul 18, 2019
373ed74
Googletest export
invalid-email-address Jul 25, 2019
2134e3f
Googletest export
invalid-email-address Jul 25, 2019
1be5ce0
Correct CMake to cover Cygwin
adambadura Jul 11, 2019
c4b68b9
Manual docs tweaks still in preparation for including docs with code …
gennadiycivil Jul 29, 2019
bb481d2
Manual docs tweaks still in preparation for including docs with code …
gennadiycivil Jul 29, 2019
b2983b2
Merge pull request #2331 from adambadura:CMakeCorrection
gennadiycivil Jul 29, 2019
a45c24a
Googletest export
gennadiycivil Jul 29, 2019
3821ecd
Googletest export
invalid-email-address Jul 29, 2019
05747d2
Merge pull request #2342 from Jauler:master
gennadiycivil Jul 29, 2019
c205468
Merge pull request #2338 from kuzkry:environment-documentation
gennadiycivil Jul 29, 2019
579591a
Update README.md
anttsov Jul 30, 2019
28e1dde
remove trailing whitespaces
kuzkry Jul 25, 2019
d384b88
fix numbering of ordered lists in Markdown
kuzkry Jul 26, 2019
bf6df7e
fix typos
kuzkry Jul 26, 2019
4cd6e4d
Merge pull request #2355 from kuzkry:markdown-numbering
gennadiycivil Jul 30, 2019
0647b90
Merge pull request #2354 from kuzkry:trailing-whitespaces
gennadiycivil Jul 30, 2019
9311242
Merge pull request #2356 from kuzkry:typos
gennadiycivil Jul 30, 2019
287b37f
update pre-C++11 paragraphs
kuzkry Jul 28, 2019
64b1769
Update README.md
anttsov Jul 31, 2019
96c851d
adjust a comment to the similar section in advanced.md
kuzkry Jul 9, 2019
637b041
remove an excessive mutable type specifier
kuzkry Aug 1, 2019
210239e
Fix table formatting in advanced.md
guillemglez Aug 1, 2019
2221875
Googletest export
gennadiycivil Jul 31, 2019
a3eee98
Googletest export
invalid-email-address Jul 31, 2019
b15335d
Googletest export
invalid-email-address Aug 1, 2019
da28d30
Googletest export
invalid-email-address Aug 1, 2019
8756ef9
Googletest export
invalid-email-address Aug 1, 2019
c8d338c
Merge pull request #2353 from anttsov:patch-1
gennadiycivil Aug 2, 2019
6a2adc0
Googletest export
invalid-email-address Aug 2, 2019
4709293
Merge pull request #2361 from guillemglez:master
gennadiycivil Aug 2, 2019
cc34e8f
Merge pull request #2357 from kuzkry:obsolete-documentation
gennadiycivil Aug 2, 2019
6c7a8be
Merge pull request #2341 from ChrisBaish:master
gennadiycivil Aug 2, 2019
4e29e48
Merge pull request #2358 from kuzkry:adjustment-of-similar-comments
gennadiycivil Aug 2, 2019
11be5f5
Googletest export
gennadiycivil Aug 5, 2019
c39ee9c
Fix #2371: Redirect Windows CRT assertions to stderr
pitrou Aug 6, 2019
9f8c393
Googletest export
gennadiycivil Aug 5, 2019
2f499db
Merge pull request #2111 from knuto:pr/remove_slash
gennadiycivil Aug 6, 2019
b4961ab
Googletest export
invalid-email-address Aug 6, 2019
d0cb77d
fix broken links
kuzkry Aug 6, 2019
07ec69a
Merge pull request #2359 from kuzkry:superfluous-mutable
CJ-Johnson Aug 6, 2019
f64f7bd
Merge pull request #2375 from kuzkry:broken-links
gennadiycivil Aug 6, 2019
6aa98d5
fix an improperly generated table
kuzkry Aug 6, 2019
6fd262e
Prepare for Bazel incompatible changes
Yannic Aug 7, 2019
800c9b3
Update Bazel on Windows
Yannic Aug 7, 2019
79690c5
Merge pull request #2372 from pitrou:issue2371-windows-crt-asserts
gennadiycivil Aug 7, 2019
dd5402d
Googletest export
invalid-email-address Aug 7, 2019
f8f5fca
Googletest export
invalid-email-address Aug 7, 2019
90a443f
Merge pull request #2378 from kuzkry:markdown-table
gennadiycivil Aug 7, 2019
d51cce4
remove a dead metafunction
kuzkry Aug 7, 2019
871dcd1
remove an outdated comment
kuzkry Aug 11, 2019
6dbddd3
Use -Wa,-mbig-obj for Cygwin/MinGW always
adambadura Aug 11, 2019
2c2c9e3
remove a custom implementation of std::add_lvalue_reference
kuzkry Aug 13, 2019
11471da
remove a custom implementation of std::enable_if
kuzkry Aug 13, 2019
e2c06aa
remove a custom implementation of std::iterator_traits
kuzkry Aug 13, 2019
364839a
remove a custom implementation of std::remove_const
kuzkry Aug 13, 2019
da76d01
remove a custom implementation of std::is_reference
kuzkry Aug 14, 2019
ec49fbc
remove custom implementations of std::is_same
kuzkry Aug 13, 2019
6a015ca
reuse IndexSequence from googletest
kuzkry Aug 14, 2019
de38f63
Googletest export
invalid-email-address Aug 9, 2019
3835e15
Googletest export
invalid-email-address Aug 9, 2019
a92e4a8
Googletest export
invalid-email-address Aug 12, 2019
c16f570
Merge pull request #2386 from kuzkry:outdated-comment
gennadiycivil Aug 15, 2019
6aba4a5
Merge pull request #2382 from kuzkry:dead-metafunction
gennadiycivil Aug 15, 2019
9b70406
Merge pull request #2399 from kuzkry:custom-type-traits-is_same
gennadiycivil Aug 15, 2019
4083746
Merge pull request #2391 from adambadura:FixCygwin
gennadiycivil Aug 15, 2019
d44b137
Googletest export
invalid-email-address Aug 15, 2019
e9d5f42
Googletest export
gennadiycivil Aug 15, 2019
44de869
remove a dead metafunction
kuzkry Aug 7, 2019
976b37f
Googletest export
gennadiycivil Aug 16, 2019
eb78ee1
Googletest export
gennadiycivil Aug 16, 2019
27e17f7
Googletest export
gennadiycivil Aug 16, 2019
410b529
Googletest export
invalid-email-address Aug 16, 2019
fcffabb
Googletest export
invalid-email-address Aug 16, 2019
30e58a8
Merge pull request #2381 from Yannic:fix_bazel
gennadiycivil Aug 19, 2019
d5e9e0c
Merge pull request #2397 from kuzkry:custom-type-traits-is_reference
gennadiycivil Aug 19, 2019
c9ccac7
Googletest export
gennadiycivil Aug 19, 2019
7bd4a7f
restore mistakenly removed iffs in their explicit form
kuzkry Aug 12, 2019
d1ad644
Googletest export
invalid-email-address Aug 20, 2019
fb49e6c
Merge pull request #2393 from kuzkry:custom-type-traits-remove_const
Aug 21, 2019
f8e9b37
remove references to autotools and combine gTest&gMock sections
kuzkry Aug 22, 2019
9bf34ac
Merge pull request #2400 from kuzkry:custom-type-traits-enable_if
Aug 23, 2019
c6d8840
Merge pull request #2401 from kuzkry:custom-type-traits-add_lvalue_re…
Aug 23, 2019
46525e1
Merge pull request #2394 from kuzkry:custom-type-traits-duplication-o…
Aug 23, 2019
db1b739
Googletest export
kuzkry Aug 23, 2019
ed2eef6
Googletest export
invalid-email-address Aug 23, 2019
38ce18e
post-review to db1b7399 (#2396)
kuzkry Aug 24, 2019
6a3d632
Googletest export
gennadiycivil Aug 26, 2019
fdd6a1d
Merge pull request #2382 from kuzkry:dead-metafunction
gennadiycivil Aug 27, 2019
d9c55a4
Merge pull request #2426 from kuzkry:#2396-postreview
gennadiycivil Aug 28, 2019
eb56ee5
Googletest export
invalid-email-address Aug 28, 2019
a648da9
Merge pull request #2420 from kuzkry:remove-autotools-section
gennadiycivil Aug 29, 2019
565f1b8
Merge pull request #2398 from kuzkry:custom-type-traits-iterator_traits
gennadiycivil Aug 29, 2019
ab8f346
Googletest export
kuzkry Aug 29, 2019
6123df9
Googletest export
invalid-email-address Sep 5, 2019
3f05f65
Googletest export
invalid-email-address Sep 5, 2019
c2b2cd8
Googletest export
invalid-email-address Sep 6, 2019
62a109a
Googletest export
invalid-email-address Sep 6, 2019
3a45039
Googletest export
invalid-email-address Sep 9, 2019
33a0d4f
Googletest export
invalid-email-address Sep 10, 2019
274afe5
Googletest export
invalid-email-address Sep 11, 2019
ac24edd
Googletest export
IYP-Programer-Yeah Sep 12, 2019
c7a03da
Merge pull request #2387 from kuzkry:iff
shaindelschwartz Sep 12, 2019
cad3bc4
Googletest export
gennadiycivil Sep 13, 2019
f2fb48c
Googletest export
kuzkry Sep 16, 2019
c78ea26
Bump llvm version to 4 so brew can work again
gennadiycivil Sep 27, 2019
076c461
Googletest export
invalid-email-address Sep 19, 2019
bf0fe87
Googletest export
invalid-email-address Sep 24, 2019
a783ade
Googletest export
invalid-email-address Sep 25, 2019
cb3f7ce
Googletest export
invalid-email-address Sep 25, 2019
72adf7a
Googletest export
gennadiycivil Sep 27, 2019
dc1ca9a
Googletest export
gennadiycivil Sep 29, 2019
68319c1
Googletest export
gennadiycivil Sep 29, 2019
4105eb7
Googletest export
invalid-email-address Oct 2, 2019
703bd9c
Googletest export
invalid-email-address Oct 3, 2019
04e52eb
Fixed warnings
JohanMabille Feb 21, 2020
6a7ed31
Merge pull request #2723 from JohanMabille/warnings
asoffer Mar 3, 2020
ef83476
Merge remote-tracking branch 'google/v1.10.x' into audrow/update-to-1…
audrow Oct 6, 2020
730e5da
Update version to 1.10.9000 in package.xmls
audrow Oct 8, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ bazel-testlogs
*.pyc

# Visual Studio files
.vs
*.sdf
*.opensdf
*.VC.opendb
Expand All @@ -34,6 +35,7 @@ googletest/m4/ltoptions.m4
googletest/m4/ltsugar.m4
googletest/m4/ltversion.m4
googletest/m4/lt~obsolete.m4
googlemock/m4

# Ignore generated directories.
googlemock/fused-src/
Expand All @@ -54,3 +56,29 @@ googlemock/CTestTestfile.cmake
googlemock/Makefile
googlemock/cmake_install.cmake
googlemock/gtest
/bin
/googlemock/gmock.dir
/googlemock/gmock_main.dir
/googlemock/RUN_TESTS.vcxproj.filters
/googlemock/RUN_TESTS.vcxproj
/googlemock/INSTALL.vcxproj.filters
/googlemock/INSTALL.vcxproj
/googlemock/gmock_main.vcxproj.filters
/googlemock/gmock_main.vcxproj
/googlemock/gmock.vcxproj.filters
/googlemock/gmock.vcxproj
/googlemock/gmock.sln
/googlemock/ALL_BUILD.vcxproj.filters
/googlemock/ALL_BUILD.vcxproj
/lib
/Win32
/ZERO_CHECK.vcxproj.filters
/ZERO_CHECK.vcxproj
/RUN_TESTS.vcxproj.filters
/RUN_TESTS.vcxproj
/INSTALL.vcxproj.filters
/INSTALL.vcxproj
/googletest-distribution.sln
/CMakeCache.txt
/ALL_BUILD.vcxproj.filters
/ALL_BUILD.vcxproj
53 changes: 21 additions & 32 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,58 +3,41 @@
# This file can be validated on:
# http://lint.travis-ci.org/

sudo: false
language: cpp

# Define the matrix explicitly, manually expanding the combinations of (os, compiler, env).
# It is more tedious, but grants us far more flexibility.
matrix:
include:
- os: linux
before_install: chmod -R +x ./ci/*platformio.sh
install: ./ci/install-platformio.sh
script: ./ci/build-platformio.sh
- os: linux
dist: xenial
compiler: gcc
sudo : true
install: ./ci/install-linux.sh && ./ci/log-config.sh
script: ./ci/build-linux-bazel.sh
- os: linux
dist: xenial
compiler: clang
sudo : true
install: ./ci/install-linux.sh && ./ci/log-config.sh
script: ./ci/build-linux-bazel.sh
- os: linux
group: deprecated-2017Q4
compiler: gcc
install: ./ci/install-linux.sh && ./ci/log-config.sh
script: ./ci/build-linux-autotools.sh
env: VERBOSE=1 CXXFLAGS=-std=c++11
- os: linux
group: deprecated-2017Q4
compiler: gcc
env: BUILD_TYPE=Debug VERBOSE=1 CXX_FLAGS=-std=c++11
- os: linux
group: deprecated-2017Q4
compiler: clang
env: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11
env: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11 -Wgnu-zero-variadic-macro-arguments
- os: linux
compiler: clang
env: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11 NO_EXCEPTION=ON NO_RTTI=ON COMPILER_IS_GNUCXX=ON
- os: osx
compiler: gcc
env: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11
env: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11 HOMEBREW_LOGS=~/homebrew-logs HOMEBREW_TEMP=~/homebrew-temp
- os: osx
env: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11
if: type != pull_request

before_install:
- |
if [ "$TRAVIS_OS_NAME" != "osx" ] && [ ! -f ${TRAVIS_BUILD_DIR}/apt-cache/pkgcache.bin ]; then
mkdir -p ${TRAVIS_BUILD_DIR}/apt-cache/archives/partial
mkdir -p ${TRAVIS_BUILD_DIR}/apt-cache/partial
mkdir -p ${TRAVIS_BUILD_DIR}/apt-cache/lists
sudo apt-get -y -o Dir::cache=${TRAVIS_BUILD_DIR}/apt-cache -o Dir::State::Lists=${TRAVIS_BUILD_DIR}/apt-cache/lists update
sudo apt-get install --download-only -o Dir::cache=${TRAVIS_BUILD_DIR}/apt-cache -o Dir::State::Lists=${TRAVIS_BUILD_DIR}/apt-cache/lists g++-4.9 clang-3.9
fi
- if [ "$TRAVIS_OS_NAME" != "osx" ]; then sudo apt-get install --no-download -o Dir::cache=${TRAVIS_BUILD_DIR}/apt-cache -o Dir::State::Lists=${TRAVIS_BUILD_DIR}/apt-cache/lists g++-4.9 clang-3.9; fi
- if [ "$TRAVIS_OS_NAME" != "osx" ]; then sudo chown -R $USER ${TRAVIS_BUILD_DIR}/apt-cache; fi
compiler: clang
env: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11 HOMEBREW_LOGS=~/homebrew-logs HOMEBREW_TEMP=~/homebrew-temp

# These are the install and build (script) phases for the most common entries in the matrix. They could be included
# in each entry in the matrix, but that is just repetitive.
Expand All @@ -65,7 +48,7 @@ install:

script: ./ci/travis.sh

# For sudo=false builds this section installs the necessary dependencies.
# This section installs the necessary dependencies.
addons:
apt:
# List of whitelisted in travis packages for ubuntu-precise can be found here:
Expand All @@ -75,10 +58,16 @@ addons:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.9

cache:
directories:
- apt-cache
packages:
- g++-4.9
- clang-3.9
update: true
homebrew:
packages:
- ccache
- [email protected]
- llvm@4
update: true

notifications:
email: false
17 changes: 15 additions & 2 deletions BUILD.bazel.upstream
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Author: [email protected] (Gennadiy Civil)
#
# Bazel Build for Google C++ Testing Framework(Google Test)

load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")

package(default_visibility = ["//visibility:public"])

licenses(["notice"])
Expand Down Expand Up @@ -83,6 +83,10 @@ cc_library(
":has_absl": ["GTEST_HAS_ABSL=1"],
"//conditions:default": [],
}),
features = select({
":windows": ["windows_export_all_symbols"],
"//conditions:default": [],
}),
includes = [
"googlemock",
"googlemock/include",
Expand All @@ -109,6 +113,10 @@ cc_library(
cc_library(
name = "gtest_main",
srcs = ["googlemock/src/gmock_main.cc"],
features = select({
":windows": ["windows_export_all_symbols"],
"//conditions:default": [],
}),
deps = [":gtest"],
)

Expand All @@ -127,6 +135,10 @@ cc_library(
"googletest/samples/sample3-inl.h",
"googletest/samples/sample4.h",
],
features = select({
":windows": ["windows_export_all_symbols"],
"//conditions:default": [],
}),
)

cc_test(
Expand All @@ -145,6 +157,7 @@ cc_test(
"googletest/samples/sample7_unittest.cc",
"googletest/samples/sample8_unittest.cc",
],
linkstatic = 0,
deps = [
"gtest_sample_lib",
":gtest_main",
Expand Down
21 changes: 13 additions & 8 deletions CMakeLists.txt.upstream
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
# Note: CMake support is community-based. The maintainers do not use CMake
# internally.

cmake_minimum_required(VERSION 2.8.8)

if (POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
endif (POLICY CMP0048)

project(googletest-distribution)
set(GOOGLETEST_VERSION 1.10.0)

if (CMAKE_VERSION VERSION_LESS "3.1")
add_definitions(-std=c++11)
else()
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
if(NOT CYGWIN)
set(CMAKE_CXX_EXTENSIONS OFF)
endif()
endif()

if (POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
endif (POLICY CMP0048)

project(googletest-distribution)
set(GOOGLETEST_VERSION 1.9.0)

enable_testing()

include(CMakeDependentOption)
Expand Down
Loading