This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch 1.9
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/1.9 by this push:
new d7fccfd Update travis-ci configuration
d7fccfd is described below
commit d7fccfda29ef55f352227ccc8288a754b609a253
Author: Christopher Tubbs <[email protected]>
AuthorDate: Fri Jun 21 04:16:45 2019 -0400
Update travis-ci configuration
---
.travis.yml | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index b32d335..1b72b5b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,25 +12,21 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+
+# requiring sudo forces Travis to build in an environment with more RAM
+sudo: required
language: java
-notifications:
- irc:
- channels:
- - "chat.freenode.net#accumulo"
- use_notice: true
- on_success: change
- on_failure: always
- template:
- - "%{result} %{repository_slug} %{branch} (%{build_url}): %{message}"
-# speed up builds; don't use with default install step
+# speed up builds; don't use cache with default install step
cache:
directories:
- $HOME/.m2
install: echo NOOP Skipping pre-fetch of Maven dependencies
jdk:
- - oraclejdk8
+ - openjdk8
+before_script:
+ - unset _JAVA_OPTIONS
env:
- - HADOOP_PROFILE=
- - HADOOP_PROFILE=-Dhadoop.profile=3
+ - BUILD_CMD="mvn clean verify javadoc:jar -DskipITs" # main build of unit
tests and javadoc
+ - BUILD_CMD="mvn clean verify javadoc:jar -DskipITs -Dhadoop.profile=3"
script:
- - mvn clean verify javadoc:jar -DskipITs $HADOOP_PROFILE
+ - $BUILD_CMD