<commit_before>###############################################################################
#  Copyright (c) 2014-2015 libbitcoin-server developers (see COPYING).
#
#         GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
#
###############################################################################

language:
    - cpp

os:
    - osx
    - linux

compiler:
    - clang
    - gcc

env:
    - LINK=static
    - LINK=dynamic

matrix:
    exclude:
        - os: osx
          compiler: gcc
    fast_finish:
        - true

before_install:

    # Set aliases for readability.
    - if [[ $CC             == gcc     ]]; then GCC=true; fi
    - if [[ $CC             == clang   ]]; then CLANG=true; fi
    - if [[ $LINK           == static  ]]; then STATIC=true; fi
    - if [[ $LINK           == dynamic ]]; then DYNAMIC=true; fi
    - if [[ $TRAVIS_OS_NAME == osx     ]]; then OSX=true; fi
    - if [[ $TRAVIS_OS_NAME == linux   ]]; then LINUX=true; fi

    # Set package repository.
    - if [[ $LINUX           ]]; then sudo add-apt-repository -y ppa:boost-latest/ppa; fi
    - if [[ $LINUX           ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
    - if [[ $LINUX && $CLANG ]]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi

    # Update the system.
    - if [[ $LINUX           ]]; then sudo apt-get -qq update; fi

install:

    # Install g++ 4.8
    - if [[ $LINUX           ]]; then sudo apt-get install -qq g++-4.8 --allow-unauthenticated; fi
    - if [[ $LINUX           ]]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50; fi
    - if [[ $LINUX           ]]; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50; fi
    - if [[ $LINUX           ]]; then sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-4.8 50; fi

    # Install clang++ 3.4
    - if [[ $LINUX && $CLANG ]]; then sudo apt-get install -qq clang-3.4 --allow-unauthenticated; fi
    - if [[ $LINUX && $CLANG ]]; then sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.4 50; fi
    - if [[ $LINUX && $CLANG ]]; then sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.4 50; fi

    # Download and install packages for linux/gcc/static.
    - if [[ $LINUX && $GCC   && $STATIC  ]]; then sudo apt-get -qq install bash-completion; fi

    # Download and install packages for osx/clang/dynamic.
    - if [[ $OSX   && $CLANG && $DYNAMIC ]]; then brew unlink boost; brew install boost; fi
    - if [[ $OSX   && $CLANG && $DYNAMIC ]]; then brew unlink bash-completion; brew install bash-completion; fi

    # Download and install packages for linux/gcc/dynamic.
    - if [[ $LINUX && $GCC   && $DYNAMIC ]]; then sudo apt-get -qq install bash-completion; fi

script:
<commit_msg>Patch Travis OSX break by re-installing libtool.<commit_after>###############################################################################
#  Copyright (c) 2014-2015 libbitcoin-server developers (see COPYING).
#
#         GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
#
###############################################################################

language:
    - cpp

os:
    - osx
    - linux

compiler:
    - clang
    - gcc

env:
    - LINK=static
    - LINK=dynamic

matrix:
    exclude:
        - os: osx
          compiler: gcc
    fast_finish:
        - true

before_install:

    # Set aliases for readability.
    - if [[ $CC             == gcc     ]]; then GCC=true; fi
    - if [[ $CC             == clang   ]]; then CLANG=true; fi
    - if [[ $LINK           == static  ]]; then STATIC=true; fi
    - if [[ $LINK           == dynamic ]]; then DYNAMIC=true; fi
    - if [[ $TRAVIS_OS_NAME == osx     ]]; then OSX=true; fi
    - if [[ $TRAVIS_OS_NAME == linux   ]]; then LINUX=true; fi

    # Set package repository.
    - if [[ $LINUX           ]]; then sudo add-apt-repository -y ppa:boost-latest/ppa; fi
    - if [[ $LINUX           ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
    - if [[ $LINUX && $CLANG ]]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi

    # Update the system.
    - if [[ $LINUX           ]]; then sudo apt-get -qq update; fi

install:

    # Install g++ 4.8
    - if [[ $LINUX           ]]; then sudo apt-get install -qq g++-4.8 --allow-unauthenticated; fi
    - if [[ $LINUX           ]]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50; fi
    - if [[ $LINUX           ]]; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50; fi
    - if [[ $LINUX           ]]; then sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-4.8 50; fi

    # Install clang++ 3.4
    - if [[ $LINUX && $CLANG ]]; then sudo apt-get install -qq clang-3.4 --allow-unauthenticated; fi
    - if [[ $LINUX && $CLANG ]]; then sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.4 50; fi
    - if [[ $LINUX && $CLANG ]]; then sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.4 50; fi

    # Download and install packages for osx/clang/static.
    - if [[ $OSX   && $CLANG && $STATIC  ]]; then brew unlink libtool; brew install libtool; fi

    # Download and install packages for linux/gcc/static.
    - if [[ $LINUX && $GCC   && $STATIC  ]]; then sudo apt-get -qq install bash-completion; fi

    # Download and install packages for osx/clang/dynamic.
    - if [[ $OSX   && $CLANG && $DYNAMIC ]]; then brew unlink libtool; brew install libtool; fi
    - if [[ $OSX   && $CLANG && $DYNAMIC ]]; then brew unlink boost; brew install boost; fi
    - if [[ $OSX   && $CLANG && $DYNAMIC ]]; then brew unlink bash-completion; brew install bash-completion; fi

    # Download and install packages for linux/gcc/dynamic.
    - if [[ $LINUX && $GCC   && $DYNAMIC ]]; then sudo apt-get -qq install bash-completion; fi

script:

{'fraction_non_alphanumeric': 0.1949898442789438, 'fraction_numerical': 0.012186865267433988, 'mean_word_length': 2.3365330321852062, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1291947', 'n_tokens_mistral': 2085, 'n_tokens_neox': 1891, 'n_words': 566}