<commit_before>language: cpp
compiler:
  - gcc
  - clang
before_install:
  - lsb_release -a
  - if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
  - if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && sudo apt-get update -y; fi
  - if [ "$CXX" == "clang++" ]; then echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main" | sudo tee /etc/apt/sources.d/llvm.list; fi
  - if [ "$CXX" == "clang++" ]; then echo "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.6 main" | sudo tee -a /etc/apt/sources.d/llvm.list; fi
  - sudo apt-get update -qq
  - if [ "$CXX" == "clang++" ]; then sudo apt-get install wget && wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add -; fi
  - if [ "$CXX" == "clang++" ]; then sudo apt-get install -y clang++-3.6 clang-3.6; fi
install:
  # gcc 4.8
  - if [ "$CXX" == "g++" ]; then sudo apt-get install -y -qq g++-4.8; fi
  - if [ "$CXX" == "g++" ]; then export CXX="g++-4.8"; fi
  # clang 3.4
  - if [ "$CXX" == "clang++" ]; then sudo apt-get install -y -qq clang-3.6; fi
  - if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.6"; fi
  # x0 dependencies
  - sudo apt-get install -y -qq cmake make zlib1g-dev libssl-dev libpam-dev pkg-config libgtest-dev libpcre3-dev
  - mkdir ~/gtest && cd ~/gtest && cmake /usr/src/gtest -DBUILD_SHARED_LIBS=ON && make && sudo cp -vp *.a /usr/local/lib/ && cd -
script:
  - $CXX --version
  - cmake -DCMAKE_BUILD_TYPE=debug
  - make
  - ./src/xzero/test-base
  - ./src/xzero-flow/test-flow
branches:
  only:
    - master
notifications:
  recipients:
    - <EMAIL>
  email:<commit_msg>travis #2<commit_after>language: cpp
compiler:
  - gcc
  - clang
before_install:
  - lsb_release -a
  - if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
  - if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && sudo apt-get update -y; fi
  - if [ "$CXX" == "clang++" ]; then echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main" | sudo tee /etc/apt/sources.list.d/llvm.list; fi
  - if [ "$CXX" == "clang++" ]; then echo "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.6 main" | sudo tee -a /etc/apt/sources.list.d/llvm.list; fi
  - sudo apt-get update -qq
  - if [ "$CXX" == "clang++" ]; then sudo apt-get install wget && wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add -; fi
  - if [ "$CXX" == "clang++" ]; then sudo apt-get install -y clang++-3.6 clang-3.6; fi
install:
  # gcc 4.8
  - if [ "$CXX" == "g++" ]; then sudo apt-get install -y -qq g++-4.8; fi
  - if [ "$CXX" == "g++" ]; then export CXX="g++-4.8"; fi
  # clang 3.4
  - if [ "$CXX" == "clang++" ]; then sudo apt-get install -y -qq clang-3.6; fi
  - if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.6"; fi
  # x0 dependencies
  - sudo apt-get install -y -qq cmake make zlib1g-dev libssl-dev libpam-dev pkg-config libgtest-dev libpcre3-dev
  - mkdir ~/gtest && cd ~/gtest && cmake /usr/src/gtest -DBUILD_SHARED_LIBS=ON && make && sudo cp -vp *.a /usr/local/lib/ && cd -
script:
  - $CXX --version
  - cmake -DCMAKE_BUILD_TYPE=debug
  - make
  - ./src/xzero/test-base
  - ./src/xzero-flow/test-flow
branches:
  only:
    - master
notifications:
  recipients:
    - <EMAIL>
  email:
{'fraction_non_alphanumeric': 0.20208955223880598, 'fraction_numerical': 0.012835820895522388, 'mean_word_length': 2.756726457399103, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3453956', 'n_tokens_mistral': 1438, 'n_tokens_neox': 1352, 'n_words': 342}