<commit_before>language: cpp

compiler:
  - gcc
  
addons:
  apt_packages:
    - libboost-all-dev
    - cmake
    
before_install:
  - if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
  - sudo add-apt-repository -y "deb http://mirrors.kernel.org/ubuntu/ trusty main"
  - sudo apt-get update -qq
  - git submodule update --init --recursive
  #- wget http://mirrors.kernel.org/ubuntu/pool/main/m/mysql-connector-c++/libmysqlcppconn-dev_1.1.3-5_amd64.deb
  #- sudo dpkg -i libmysqlcppconn-dev_1.1.3-5_amd64.deb
  #- wget http://mirrors.kernel.org/ubuntu/pool/main/m/mysql-connector-c++/libmysqlcppconn7_1.1.3-5_amd64.deb
  #- sudo dpkg -i libmysqlcppconn7_1.1.3-5_amd64.deb
  
install:
  - sudo apt-get install -qq libmysqlcppconn-dev
  - sudo apt-get install -qq libmysqlcppconn7
  - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq "g++-${GCC_VERSION}"; fi
  - if [ "$CXX" = "g++" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi

before_script:
  - wget https://dev.mysql.com/get/Downloads/Connector-C++/mysql-connector-c++-1.1.6-linux-ubuntu12.04-x86-32bit.tar.gz -O /tmp/mysql-connector.tar.gz
  - tar -xvf /tmp/mysql-connector.tar.gz
  - export PATH=$PATH:$PWD/mysql-connector-c++-1.1.6/bin/
  - mkdir build
  - cd build
  - cmake ..
  

script: make

env:
  global:
    - GCC_VERSION="5"
    
  matrix:
    - BUILD_TYPE=Debug
    - BUILD_TYPE=Release
<commit_msg>Updated .travis.yml<commit_after>language: cpp

compiler:
  - gcc
  
addons:
  apt_packages:
    - libboost-all-dev
    - cmake
    
before_install:
  - if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
  - sudo add-apt-repository -y "deb http://mirrors.kernel.org/ubuntu/ trusty main"
  - sudo apt-get update -qq
  - git submodule update --init --recursive
  
install:
  - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq "g++-${GCC_VERSION}"; fi
  - if [ "$CXX" = "g++" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi

before_script:
  - wget https://dev.mysql.com/get/Downloads/Connector-C++/mysql-connector-c++-1.1.6-linux-ubuntu12.04-x86-32bit.tar.gz -O /tmp/mysql-connector.tar.gz
  - tar -xvf /tmp/mysql-connector.tar.gz
  - export PATH=$PATH:$PWD/mysql-connector-c++-1.1.6-linux-ubuntu12.04-x86-32bit/lib/:$PWD/mysql-connector-c++-1.1.6-linux-ubuntu12.04-x86-32bit/include/
  - mkdir build
  - cd build
  - cmake ..
  

script: make

env:
  global:
    - GCC_VERSION="5"
    
  matrix:
    - BUILD_TYPE=Debug
    - BUILD_TYPE=Release

{'fraction_non_alphanumeric': 0.17246653919694072, 'fraction_numerical': 0.029063097514340344, 'mean_word_length': 2.559183673469388, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1394025', 'n_tokens_mistral': 1165, 'n_tokens_neox': 1031, 'n_words': 175}