<commit_before>## ======================================================================
##   ____ ____  ____  ____     ____                         
##  / ___|  _ \|  _ \| __ )   / ___|_   _ _ __  _ __  _   _ 
## | |  _| |_) | | | |  _ \  | |  _| | | | '_ \| '_ \| | | |
## | |_| |  __/| |_| | |_) | | |_| | |_| | | | | | | | |_| |
##  \____|_|   |____/|____/   \____|\__,_|_| |_|_| |_|\__, |
##                                                    |___/ 
## ----------------------------------------------------------------------
## Travis CI build script for GPDB Open Source Project.
## 
## Reference:
##   o Travis CI Docs: http://docs.travis-ci.com
## ----------------------------------------------------------------------
##
## This project builds the core Greenplum Database Open Source
## project.
##
## ======================================================================

os:
  - linux

language: c
sudo: false

git:
  submodules: false

addons:
  apt:
    packages:
    - libevent-dev

## ----------------------------------------------------------------------
## Build tools
## ----------------------------------------------------------------------

compiler:
  - gcc

python:
  - "2.7"

## ----------------------------------------------------------------------
## Install supporting Python modules
## ----------------------------------------------------------------------

install:
  - pip install --user --upgrade pip
  - pip install --user --pre psutil
  - pip install --user lockfile
  - pip install --user paramiko
  - pip install --user setuptools

## ----------------------------------------------------------------------
## Build APR & APR-UTIL used to build gpfdist
## ----------------------------------------------------------------------

env:
  - APR=apr-1.5.2
    APR_UTIL=apr-util-1.5.4
    APR_TAR=${APR}.tar.gz
    APR_UTIL_TAR=${APR_UTIL}.tar.gz

before_script:
  - export PATH=${TRAVIS_BUILD_DIR}/tools/bin:$PATH
  - cd ${TRAVIS_BUILD_DIR}
  - wget http://ftp.jaist.ac.jp/pub/apache/apr/${APR_TAR}
  - wget http://ftp.jaist.ac.jp/pub/apache/apr/${APR_UTIL_TAR}
  - tar xf ${APR_TAR}
  - tar xf ${APR_UTIL_TAR}
  - cd ${TRAVIS_BUILD_DIR}/${APR}
  - ./configure --prefix=${TRAVIS_BUILD_DIR}/tools
  - make install
  - cd ${TRAVIS_BUILD_DIR}/${APR_UTIL}
  - ./configure --prefix=${TRAVIS_BUILD_DIR}/tools --with-apr=${TRAVIS_BUILD_DIR}/${APR}
  - make install

## ----------------------------------------------------------------------
## Perform build:
##   GPDB
##   gpmapreduce
##   orafce
##   gpfdist
## ----------------------------------------------------------------------

script:
  - cd ${TRAVIS_BUILD_DIR}
  - ./configure --with-openssl --with-ldap --with-libcurl --prefix=${TRAVIS_BUILD_DIR}/gpsql --with-apr-config=${TRAVIS_BUILD_DIR}/tools/bin/apr-1-config --disable-orca --disable-gpcloud

  - make
  - make install
  - source ${TRAVIS_BUILD_DIR}/gpsql/greenplum_path.sh
  - cd ${TRAVIS_BUILD_DIR}/gpAux/extensions/orafce
  - make install USE_PGXS=1
  - cd ${TRAVIS_BUILD_DIR}/gpAux/extensions/gpmapreduce
  - make install
  - postgres --version
  - initdb --version
  - createdb --version
  - psql --version
  - gpssh --version
  - gpmapreduce --version
  - gpfdist --version

## ----------------------------------------------------------------------
## Notification
## ----------------------------------------------------------------------
notifications:
  email:
    recipients:
      - <EMAIL>
    on_success: change
    on_failure: always
<commit_msg>Use latest available apr in travis build<commit_after>## ======================================================================
##   ____ ____  ____  ____     ____                         
##  / ___|  _ \|  _ \| __ )   / ___|_   _ _ __  _ __  _   _ 
## | |  _| |_) | | | |  _ \  | |  _| | | | '_ \| '_ \| | | |
## | |_| |  __/| |_| | |_) | | |_| | |_| | | | | | | | |_| |
##  \____|_|   |____/|____/   \____|\__,_|_| |_|_| |_|\__, |
##                                                    |___/ 
## ----------------------------------------------------------------------
## Travis CI build script for GPDB Open Source Project.
## 
## Reference:
##   o Travis CI Docs: http://docs.travis-ci.com
## ----------------------------------------------------------------------
##
## This project builds the core Greenplum Database Open Source
## project.
##
## ======================================================================

os:
  - linux

language: c
sudo: false

git:
  submodules: false

addons:
  apt:
    packages:
    - libevent-dev

## ----------------------------------------------------------------------
## Build tools
## ----------------------------------------------------------------------

compiler:
  - gcc

python:
  - "2.7"

## ----------------------------------------------------------------------
## Install supporting Python modules
## ----------------------------------------------------------------------

install:
  - pip install --user --upgrade pip
  - pip install --user --pre psutil
  - pip install --user lockfile
  - pip install --user paramiko
  - pip install --user setuptools

## ----------------------------------------------------------------------
## Build APR & APR-UTIL used to build gpfdist
## ----------------------------------------------------------------------

env:
  - APR=apr-1.6.2
    APR_UTIL=apr-util-1.6.0
    APR_TAR=${APR}.tar.gz
    APR_UTIL_TAR=${APR_UTIL}.tar.gz

before_script:
  - export PATH=${TRAVIS_BUILD_DIR}/tools/bin:$PATH
  - cd ${TRAVIS_BUILD_DIR}
  - wget http://ftp.jaist.ac.jp/pub/apache/apr/${APR_TAR}
  - wget http://ftp.jaist.ac.jp/pub/apache/apr/${APR_UTIL_TAR}
  - tar xf ${APR_TAR}
  - tar xf ${APR_UTIL_TAR}
  - cd ${TRAVIS_BUILD_DIR}/${APR}
  - ./configure --prefix=${TRAVIS_BUILD_DIR}/tools
  - make install
  - cd ${TRAVIS_BUILD_DIR}/${APR_UTIL}
  - ./configure --prefix=${TRAVIS_BUILD_DIR}/tools --with-apr=${TRAVIS_BUILD_DIR}/${APR}
  - make install

## ----------------------------------------------------------------------
## Perform build:
##   GPDB
##   gpmapreduce
##   orafce
##   gpfdist
## ----------------------------------------------------------------------

script:
  - cd ${TRAVIS_BUILD_DIR}
  - ./configure --with-openssl --with-ldap --with-libcurl --prefix=${TRAVIS_BUILD_DIR}/gpsql --with-apr-config=${TRAVIS_BUILD_DIR}/tools/bin/apr-1-config --disable-orca --disable-gpcloud

  - make
  - make install
  - source ${TRAVIS_BUILD_DIR}/gpsql/greenplum_path.sh
  - cd ${TRAVIS_BUILD_DIR}/gpAux/extensions/orafce
  - make install USE_PGXS=1
  - cd ${TRAVIS_BUILD_DIR}/gpAux/extensions/gpmapreduce
  - make install
  - postgres --version
  - initdb --version
  - createdb --version
  - psql --version
  - gpssh --version
  - gpmapreduce --version
  - gpfdist --version

## ----------------------------------------------------------------------
## Notification
## ----------------------------------------------------------------------
notifications:
  email:
    recipients:
      - <EMAIL>
    on_success: change
    on_failure: always

{'fraction_non_alphanumeric': 0.4027362120564344, 'fraction_numerical': 0.002850220892119139, 'mean_word_length': 1.1910708710583828, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3453242', 'n_tokens_mistral': 2108, 'n_tokens_neox': 2034, 'n_words': 338}