<commit_before>#!/bin/bash -x

if [ "$COVERITY_SCAN_BRANCH" == 1 ]; then
  cat /home/travis/build/benvenutti/hasmTest/build/cov-int/scm_log.txt
  exit 0
fi

if [ "$IS_COVERAGE_BUILD" == 1 ]; then
  flags="-g -O0 --coverage"
  cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="$flags" -DCMAKE_CXX_COMPILER=$COMPILER .
elif [ "$TRAVIS_OS_NAME" == "linux" ]; then
  mkdir build && cd build

  if [ "$COMPILER" == "clang++" ]; then
    cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_CXX_FLAGS="-stdlib=libc++" ..
  else
    cmake -DCMAKE_CXX_COMPILER=$COMPILER ..
  fi

elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
  mkdir build && cd build
  cmake ..
fi

make
make test CTEST_OUTPUT_ON_FAILURE=TRUE<commit_msg>Test libc++ for clang++-3.6 on Travis CI<commit_after>#!/bin/bash -x

if [ "$COVERITY_SCAN_BRANCH" == 1 ]; then
  cat /home/travis/build/benvenutti/hasmTest/build/cov-int/scm_log.txt
  exit 0
fi

if [ "$IS_COVERAGE_BUILD" == 1 ]; then
  flags="-g -O0 --coverage"
  cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="$flags" -DCMAKE_CXX_COMPILER=$COMPILER .
elif [ "$TRAVIS_OS_NAME" == "linux" ]; then
  mkdir build && cd build

  if [ "$COMPILER" == "clang++-3.6" ]; then
    cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_CXX_FLAGS="-stdlib=libc++" ..
  else
    cmake -DCMAKE_CXX_COMPILER=$COMPILER ..
  fi

elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
  mkdir build && cd build
  cmake ..
fi

make
make test CTEST_OUTPUT_ON_FAILURE=TRUE
{'fraction_non_alphanumeric': 0.15749128919860628, 'fraction_numerical': 0.008362369337979094, 'mean_word_length': 3.9688581314878895, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2086357', 'n_tokens_mistral': 633, 'n_tokens_neox': 593, 'n_words': 115}