aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
AgeCommit message (Collapse)Author
2018-10-16travis: Drop testing for Java 10Eric Anderson
oracle10 is failing during setup with: The command "bash install-jdk.sh -F 10 -L BCL --target $JAVA_HOME --workspace ${TRAVIS_HOME}/.cache/install-jdk" failed and exited with 8 during . We should be adding support for Java 11 and dropping Java 9-10 anyway, since Java 9-10 are unsupported.
2018-08-17travis: Use default Maven settingsEric Anderson
Throw away Travis-CI's custom Maven settings, because they are causing massive CI failures when Maven slows to a crawl/hangs because of failures contaicting repository.apache.org. Travis-CI's settings includes repo.maven.apache.org, oss.sonatype (releases and snapshots), and repository.apache.org (releases and snapshots). Now we will just be using Maven's default, which may just be repo.maven.apache.org.
2018-08-17travis.yml: Fix protobuf compilation cachingEric Anderson
Wildcard apparently doesn't work... silently. Move versions into their own directory so we can use a hard-coded string in the travis configuration.
2018-07-30travis.yml: Actually trigger coverallsEric Anderson
Previously it was just erroring: [[: command not found This has been broken since #3638
2018-07-19Fix jdk10 support in travis (#4653)zpencer
For jdk10: disable errorprone and fix javadoc warnings
2018-07-18buildscript: fix jdk-switcher bug always always setting jdk8 (#4652)zpencer
This fixes a bug that always hard codes jdk8. Fixing this revealed an issue for jdk10, so let's remove jdk10 for now and revisit it in a separate PR.
2018-07-11buildscripts: Hard-code PROTOBUF_VERSION in make_dependencies.shEric Anderson
We always want to use a consistent version of protobuf; avoid the need for the caller (which may be a person running the script) to specify the version.
2018-06-27all: add 'oraclejdk10' to travis build matrixsullis
2018-04-27buildscripts: make unix.sh and make_dependencies.sh arch aware (#4384)zpencer
ARCH can be '32' or '64'. If it is not set then default to '64'. make_dependencies.sh should do the symlinking
2018-03-28Fix compilation in Java 9Eric Anderson
2018-01-05Upgrade to Protobuf 3.5.1 and Protoc 3.5.1-1. (#3921)Kun Zhang
protoc-3.5.0-linux-x86_64 introduced GLIBC_2.14 dependency and broke gRPC release process (https://github.com/google/protobuf/issues/4138). 3.5.1-1 is the proper re-build.
2017-11-30all: update to proto 3.5.0Carl Mastrangelo
2017-10-26travis: Remove OS X buildEric Anderson
With #3608 Kokoro is now able to handle OS X. I'm not removing the OS X-specific parts of the .travis.yml in case we need to revert back to using Travis. Fixes #3466
2017-09-28thrift: Delete thriftZHANG Dapeng
Thrift support is moved to https://github.com/grpc-ecosystem/grift
2017-08-25all: update to proto 3.4.0Carl Mastrangelo
2017-05-23all: bump to proto 3.3.1Carl Mastrangelo
2017-03-01travis: Add thrift example; it was split out in 5ca4ea7Eric Anderson
2017-02-24all: Enable ErrorProne during compilationEric Anderson
ErrorProne provides static analysis for common issues, including misused variables GuardedBy locks. This increases build time by 60% for parallel builds and 30% for non-parallel, so I've provided a way to disable the check. It is on by default though and will be run in our CI environments.
2017-02-07all: update to protobuf 3.2.0Carl Mastrangelo
2016-11-23travis: Remove old comment for broken OS X cachingEric Anderson
Commit 80f73a4a was in response to OS X receiving caching support. Caches began being saved shortly after and they've been working since. The official announcment was https://blog.travis-ci.com/2016-05-03-caches-are-coming-to-everyone
2016-11-23travis: Use default OS X image (xcode7.3)Eric Anderson
The xcode7 image is being retired on Nov 28th[1]. The default has been 7+ for a while now[2]. I assume 7+ all have JDK 8, so using the default seems safe. 1. https://blog.travis-ci.com/2016-11-17-retiring-some-osx-images/ 2. https://blog.travis-ci.com/2016-09-15-new-default-osx-image-coming/
2016-11-01Bump protobuf to 3.1.0Eric Anderson
Also removed warnings about protoc version matching runtime, since this is no longer supposed to be a problem (starting with 3.0.0-beta-4) and all our tests ran fine when using protoc 3.0.2 with protobuf runtime 3.1.0. Fixes #2316
2016-09-29all: Bump protobuf to 3.0.2, to fix protoc in CIEric Anderson
protoc no longer builds in 3.0.0 because auto-download of the gmock zip now fails. 3.0.2 has a fix to autogen: https://github.com/google/protobuf/commit/bba446bbf2ac7b0b9923d4eb07d5acd0665a8cf0 All that was strictly necessary was to update .travis.yml and buildscripts/, but it helps our sanity to keep the rest of the protobuf versions in sync. Lite is left on its existing version, because it did not see a bump of neither the java library nor the protoc plugin.
2016-07-29Update protobuf to 3.0.0Eric Anderson
Fixes #2086
2016-07-11examples: Provide Maven and Gradle build filesEric Anderson
The examples are no longer part of the normal build, although they are built with Travis. The examples now include their own copy of the gradle wrapper to ease usage from IDEs which can now properly detect the correct version of gradle to use. The build files were generated using "gradle init" and "mvn archetype:generate" and then modified following our README. Fixes #1414
2016-07-10travis,jenkins: Fail build if javac emits warningsEric Anderson
2016-06-28Bump protobuf dependency to 3.0.0-beta-3Eric Anderson
This allows us to play with zero-copy and proto3 support for lite. Unfortunately, it introduced some warnings, so deprecated warnings are now ignored for benchmarks and interop-testing.
2016-05-03travis: Avoid $HOME in cache, since it variesEric Anderson
$HOME can be different between different platforms/configurations, so using /tmp means the path is consistent and be shared in the caches.
2016-04-29Remove m2 from Travis cache; it's unusedEric Anderson
This is a remanent from when we were building Netty from master. Gradle uses ~/.gradle/caches/modules-2/files-2.1/ for its Maven Central cache.
2016-04-27Allow cache to be shared between Linux and OS XEric Anderson
It doesn't appear that OS X is saving its cache yet, so this may not be needed in the future, but for now we need OS X to avoid attempting to use the Linux binaries.
2016-02-21Limit memory during buildEric Anderson
When running :grcp-interop-testing:test, Travis has been hanging on OS X or flaking on Linux with: > Process 'Gradle Test Executor 4' finished with non-zero exit value 137 Exit code 137 indicates SIGKILL (128 + 9) and is most likely caused by the JVM being killed by the kernel's OOM killer. The limit in .travis.yml is 2x what was necessary to do a parallel build. The main test memory limit in build.gradle is well above 16m which is necessary for the tests. Interop-testing is well above 64m which is necessary for interop-testing, but we use 1.5g to help prevent timeouts on Travis. Protobuf and protobuf-nano each have one tests that decodes a proto >64M in size, which prevents them from running with less than 512m and 768m, respectively.
2016-02-17Add support for codecov.ioEric Anderson
Codecov.io provides patch-based code coverage, so you can easily know how many of the added lines are covered. It also has a more useful UI. Unfortunately, the percentage it reports does not include partially- covered lines--those with uncovered conditions. Thus the reported percentage is about 6% lower than the coverage we've been looking at previously. Because of this alone, I don't expect to remove coveralls support soon. Use the bash script instead of python module since pip isn't available by default on Travis OS X. jacocoTestReport uses mustRunAfter (contrary to the docs; see https://issues.gradle.org/browse/GRADLE-2960) to make sure it runs after all tests, only if testing is taking place. We would like :grpc-all:jacocoTestReport to behave the same way. Without it, we would need two separate invocations of gradle (adding ~1m to Travis run) in order to prevent getting random results depending on what tests just so happened to have been run.
2016-02-16Switching to netty-tcnative-boringssl-staticnmittler
2016-01-27Upgrade to protobuf-3.0.0-beta-2 and protobuf-nano-3.0.0-alpha-5Kun Zhang
Update option name that disables protobuf tests.
2015-11-25Remove double-"brew update" as now unnecessaryEric Anderson
The issue is closed and our latest runs on Travis are only needing to run brew update once.
2015-11-02Brew update twice, to work around Brew issueEric Anderson
2015-10-28Add tests for nano protoEric Anderson
Since some of the tests would need only minor modification to work for normal proto, normal proto got a few more tests as well.
2015-10-23Support OS X on TravisEric Anderson
2015-10-01Have OpenSSL v1.0.2 available to unit testsEric Anderson
2015-09-09Revert "Draft of Android specific Channe builder"Louis Ryan
This reverts commit d6dc790f05c90ffba2c7a4356121ae4d586e467e.
2015-09-03Draft of Android specific Channe builderLouis Ryan
2015-08-31Upgrade to protobuf-3.0.0-beta-1Kun Zhang
2015-08-11Add coveralls supportEric Anderson
2015-06-17Update Travis to use protobuf3-alpha3Eric Anderson
It's only working today because alpha2 is still in the cache.
2015-06-05Enable Travis for all branchesEric Anderson
We are using branches for other flows of development, so we really want it running everywhere.
2015-05-21Fail travis build if codegen isn't committedEric Anderson
This doesn't catch 100% of such problems, as it runs before tests have been run. However, almost all of our protos are used in 'main' so this limitation shouldn't be a big deal. If it does become a problem, we change it from 'before_script' to 'script', but then we'll also need to include gradle build instructions.
2015-04-29Remove stray character that hinded Travis cacheEric Anderson
2015-04-29Include gradle 2.3 in Travis-CI cacheEric Anderson
Gradle 2.3 is using a -bin.zip name instead of a -all.zip name like 2.2.
2015-04-01Cache Gradle and not really MavenEric Anderson
Artifacts that Gradle caches from Maven Central go in ~/.gradle/caches/modules-2, not ~/.m2. We only need .m2 for the locally-installed Netty.
2015-03-24Disable Travis parallel building to reduce memory usageEric Anderson
We were seeing errors on Travis like: > Process 'Gradle Test Executor 2' finished with non-zero exit value 137 That doesn't make much sense, other than maybe the OOM killer killing our processes. Turning off parallel execution seemed to fix the problem, so we'll just assume memory was the actual problem and doing fewer things in parallel reduces our maximum memory usage. Travis documentation seems to agree with that being a likely cause: http://docs.travis-ci.com/user/common-build-problems/#My-build-script-is-killed-without-any-error