travis: Use default Maven settings

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.
This commit is contained in:
Eric Anderson 2018-08-17 17:03:50 -07:00
parent 71e9841c80
commit 3b578abf99
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ env:
- LD_LIBRARY_PATH=/tmp/protobuf/lib
before_install:
- rm ~/.m2/settings.xml || true # Avoid repository.apache.org, which has QPS limits and is useless
- mkdir -p $HOME/.gradle/caches &&
ln -s /tmp/gradle-caches-modules-2 $HOME/.gradle/caches/modules-2
- mkdir -p $HOME/.gradle &&