<commit_before>sudo: required

language: bash

env:
  global:
    - ORACLE_COOKIE=sqldev
    - ORACLE_FILE=oracle11g/xe/oracle-xe-11.2.0-1.0.x86_64.rpm.zip
    - ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
    - NLS_LANG=AMERICAN_AMERICA.AL32UTF8
    - ORACLE_BASE=/u01/app/oracle
    - LD_LIBRARY_PATH=$ORACLE_HOME/lib
    - PATH=$PATH:$ORACLE_HOME/jdbc/lib:$ORACLE_HOME/bin
    - DATABASE_VERSION=172.16.58.3
    - ORACLE_SID=XE
    - DATABASE_NAME=XE
    - ORA_SDTZ='Europe/London' #Needed as a client parameter
    - TZ='Europe/London'       #Needed as a DB Server parameter
    - UT3_USER=ut3
    - UT3_PASSWORD=<PASSWORD>
    - UT3_TABLESPACE=users

addons:
  apt:
    packages:
#packages required by oracle
      - bc
      - rpm
      - unzip
#      - libaio1


cache: 
  directories: 
    - .cache
    - $HOME/.cache

before_install:
# On trusty, download the zip file into a cachable directory
  - test "$DIST" = precise || export ORACLE_ZIP_DIR=$HOME/.cache
# If the zip file already exists, do not download it again
  - test -f "$ORACLE_ZIP_DIR"/$(basename $ORACLE_FILE) || bash .travis/oracle/download.sh

install:
  - bash .travis/oracle/install.sh

script:
  - bash .travis/create_utplsql_user.sh
  - bash .travis/install_libraries.sh
  - bash .travis/install.sh
  - bash .travis/run_examples.sh
  - bash .travis/run_test.sh

notifications:
  slack: utplsql:oiMuXO95TvKeAUENuDt4cPrB

<commit_msg>Add Documentation build to Travis build.<commit_after>sudo: required

language: perl

env:
  global:
    - ORACLE_COOKIE=sqldev
    - ORACLE_FILE=oracle11g/xe/oracle-xe-11.2.0-1.0.x86_64.rpm.zip
    - ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
    - NLS_LANG=AMERICAN_AMERICA.AL32UTF8
    - ORACLE_BASE=/u01/app/oracle
    - LD_LIBRARY_PATH=$ORACLE_HOME/lib
    - PATH=$PATH:$ORACLE_HOME/jdbc/lib:$ORACLE_HOME/bin
    - DATABASE_VERSION=172.16.58.3
    - ORACLE_SID=XE
    - DATABASE_NAME=XE
    - ORA_SDTZ='Europe/London' #Needed as a client parameter
    - TZ='Europe/London'       #Needed as a DB Server parameter
    - UT3_USER=ut3
    - UT3_PASSWORD=<PASSWORD>
    - UT3_TABLESPACE=users

addons:
  apt:
    packages:
#packages required by oracle
      - bc
      - rpm
      - unzip
#      - libaio1


cache: 
  directories: 
    - .cache
    - $HOME/.cache

before_install:
  # perl modules needed for documenation generation
  - "cpanm IPC::System::Simple"
  - "cpanm Markdent"
  - "cpanm File::Map"
# On trusty, download the zip file into a cachable directory
  - test "$DIST" = precise || export ORACLE_ZIP_DIR=$HOME/.cache
# If the zip file already exists, do not download it again
  - test -f "$ORACLE_ZIP_DIR"/$(basename $ORACLE_FILE) || bash .travis/oracle/download.sh

install:
  - bash .travis/oracle/install.sh

script:
  - bash .travis/create_utplsql_user.sh
  - bash .travis/install_libraries.sh
  - bash .travis/install.sh
  - bash .travis/run_examples.sh
  - bash .travis/run_test.sh
  - perl docsource/builddocs.pl

notifications:
  slack: utplsql:oiMuXO95TvKeAUENuDt4cPrB


{'fraction_non_alphanumeric': 0.11420982735723771, 'fraction_numerical': 0.025896414342629483, 'mean_word_length': 2.954068241469816, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6043650', 'n_tokens_mistral': 1306, 'n_tokens_neox': 1213, 'n_words': 213}