31 Commits

Author SHA1 Message Date
Derek Mauro
4e82924686 Update test Docker image to GCC 11.2, Clang 14 (prerelease),
CMake 3.22.1, and Bazel 4.2.2

PiperOrigin-RevId: 421814198
Change-Id: Ief4e39d7f077089f10afdc8d63cc1e51dc18e97f
2022-01-14 06:52:59 -08:00
Abseil Team
b2dda9ed83 Googletest export
Use newer Docker images in CI

The new floor image contains GCC 5.5.0, like the old one.

PiperOrigin-RevId: 402402465
2021-10-13 12:28:00 -04:00
dmauro
8ceecc27c7 Googletest export
Updates Linux docker image to use Bazel 4.1.0 and GCC 11.1
Updates Bazel dependencies
Removes the last usage of the deprecated and removed Python2

PiperOrigin-RevId: 375759184
2021-06-02 17:54:36 -04:00
Abseil Team
965f8ecbfd Googletest export
Generalize root directory in CI scripts

PiperOrigin-RevId: 367628939
2021-04-09 09:04:04 -07:00
Abseil Team
79b556eff6 Googletest export
Add CI test scripts

PiperOrigin-RevId: 360931988
2021-03-09 10:59:01 -08:00
dmauro
9e975a022e Googletest export
Disable Travis CI. The migration to travis-ci.com is incompatible with
security policy. These tests are now run on Kokoro.

PiperOrigin-RevId: 355438343
2021-02-05 10:41:23 -08:00
dmauro
6c58c11d54 Googletest export
Remove platformio tests. This currently uses gcc 4.8.2 which is no
longer supported.

PiperOrigin-RevId: 351667999
2021-01-13 20:59:51 -05:00
dmauro
d737069111 Googletest export
Fix the TravisCI build by updating the required tools

PiperOrigin-RevId: 344882646
2020-12-02 18:23:22 -05:00
dmauro
859bfe8981 Googletest export
Update Travis CI to use Ubuntu Bionic in some cases

PiperOrigin-RevId: 313639562
2020-05-28 19:55:32 -04:00
Gennadiy Rozental
b0e53e2d64 Merge pull request #2797 from Jyun-Neng:master
PiperOrigin-RevId: 307604377
2020-05-01 17:11:17 -04:00
Ji Jyun-Neng
879fd9b452 Remove duplicate codes existed in get-nprocessors.sh 2020-04-05 01:09:56 +08:00
Arthur O'Dwyer
5504ded3ab Fix a typo in .travis.yml
The old code was trying to pass -Wgnu-zero-variadic-macro-arguments
as part of CXXFLAGS, but it forgot the quotation marks needed around
whitespace. This meant that option was ignored:
https://travis-ci.org/github/google/googletest/jobs/666534177#L760

Unfortunately, the codebase is not remotely clean with respect to that
warning option. It fails like this:
https://travis-ci.org/github/Quuxplusone/googletest/jobs/668118135

So, remove that failing configuration from the test matrix until
someone has time to look at it.
2020-03-28 13:06:55 -04:00
misterg
dc1ca9ae4c Googletest export
fix OSS Travis Builds -remove hardcoded updated package from brew

PiperOrigin-RevId: 271863378
2019-09-29 15:30:31 -04:00
misterg
27e17f7851 Googletest export
Stop depending on the abseil master

PiperOrigin-RevId: 263789087
2019-08-16 12:50:16 -04:00
misterg
1d721a7a9d Googletest export
Move Googletest OSS bazel builds to latest bazel.
The latest bazel ( 0.27.0 as of now ) does not run on trusty.

PiperOrigin-RevId: 253829774
2019-06-18 14:25:41 -04:00
Gennadiy Civil
60b9298653 Fixing CI break by going to bazel 0.26.1 2019-06-17 16:57:54 -04:00
Gennadiy Civil
807d590a22 Finish removing autotools 2019-06-13 16:40:44 -04:00
misterg
c4ccab33aa Googletest export
Internal Change

PiperOrigin-RevId: 233614147
2019-02-12 13:20:40 -05:00
Abseil Team
dda0df3b0a Googletest export
Internal change

PiperOrigin-RevId: 232362580
2019-02-12 13:20:05 -05:00
Enji Cooper
9df5475b82 Test out changes with clang/OSX each PR using Travis CI
This will help ensure that test coverage isn't missed when changes that
can impact OSX with clang are submitted. Although not perfect, testing
changes on OSX with clang is an ok proxy [for now] for testing changes on
FreeBSD with clang (testing on FreeBSD is non-trivial, as Travis CI doesn't
support operating systems other than Linux and OSX).

In order to support this, install the packages via homebrew using a
`addons::homebrew::packages` block (similar to `addons::apt::packages`
for Ubuntu), as documented in the Travis CI docs
( https://docs.travis-ci.com/user/installing-dependencies/ ). While
here, try pushing apt* calls into the Travis config for Ubuntu, instead
of delaying the equivalent calls in the `ci/*.sh` scripts. Keep the
`ci/*.sh` scripts for ease of testing locally (and extend the OSX one to
install gcc 4.9 and llvm 3.9, like the travis config does).

In order to accomodate this change (and because the homebrew package for
llvm@3.9 doesn't automatically add clang*-3.9 to `$PATH`), `$PATH` needs
to be adjusted to find the llvm@3.9 toolchain.

Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
2019-02-04 12:19:27 -08:00
Chris Johnson
2c8ab3f18b
feat: Add initial support for PlatformIO and Arduino 2018-12-04 21:44:39 -06:00
Ryan Yee
a83429f5d3 fix typo 2018-10-11 01:13:09 -07:00
Gennadiy Civil
c34ecf1ff0
Revert "Add clang format check to one of the builds" 2018-09-25 10:05:30 -07:00
Gennadiy Civil
76e1045729 typo 2018-09-25 02:55:08 -04:00
Gennadiy Civil
2d3466be47 Add clang format check to one of the builds to provide indication that formatting is incorrect 2018-09-25 02:42:15 -04:00
Gennadiy Civil
fab2252646 Changing clang tp 3.9 as 3.7 no longer works on Travis 2018-08-29 21:58:47 -04:00
Scott Graham
95ec42d95f Add no-exception and no-rtti to build matrix 2018-05-01 09:34:13 -07:00
Gennadiy Civil
e6ec8bc52f Merges and also adding new bazel build mode 2018-01-31 12:05:18 -05:00
Carlos O'Ryan
ec2b0c3912
Build both googletest and googlemock. 2017-12-24 12:22:46 -05:00
Carlos O'Ryan
75b85d5382
Create a autotools-based build for Travis.
When this build works, we know the autoconf support is working.
2017-12-24 12:22:17 -05:00
Carlos O'Ryan
bc3320b7f1
Implement bazel-based builds in Travis.
This refactored test build scripts to enable
bazel-build scripts in Travis.
2017-12-08 20:59:07 -05:00