hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Peña (JIRA) <>
Subject [jira] [Commented] (HIVE-10293) enabling travis-ci build?
Date Mon, 11 Apr 2016 18:13:25 GMT


Sergio Peña commented on HIVE-10293:

Great, this is very useful for Git and for people using Pull Requests

For running tests, I worked on similar issue before, and wrote a script that executes just
a partial set of unit-tests (no q-tests). The build + unit-test time takes ~34 min. You can
tweak it if you need. Here's the script I used to do that in case you want to use it:

# Add any test to be excluded in alphabetical order to keep readability, starting with files,
# then directories.
declare -a EXCLUDE_TESTS=(

function get_excluded_tests() {
  local IFS="|"
  echo -n "${EXCLUDE_TESTS[*]}"

function get_regex_excluded_tests() {
  echo -n "%regex[`get_excluded_tests`]"

mvn clean install -Phadoop-2 -Dmaven.repo.local="$MVN_REPO_LOCAL" -Dtest.excludes.additional="$regex_tests"

> enabling travis-ci build?
> -------------------------
>                 Key: HIVE-10293
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Build Infrastructure
>            Reporter: Gabor Liptak
>            Assignee: Gabor Liptak
>            Priority: Minor
>         Attachments: HIVE-10293.1.patch
> I would like to contribute a .travis.yml for Hive.
> In particular, this would allow contributors working through Github, to validate their
own commits on their own branches.
> Please comment.
> Thanks

This message was sent by Atlassian JIRA

View raw message