<commit_before>language: cpp

compiler:
  - gcc
  - clang

before_install:
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  - sudo apt-get update -qq
# g++4.8.1
  - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
  - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
# clang 3.4
  - if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq clang-3.4; fi
  #libstdc++-4.8 is needed by Clang to build too
  - if [ "$CXX" == "clang++" ]; then sudo apt-get install -qq g++-4.8 libstdc++-4.8-dev; fi
#  - if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; fi
  # boost is needed for unit tests
  - sudo apt-get install libboost-dev

script:
  - $CXX --version
  - cd devscan && cmake . && make
  - pwd
  - cd client/test && cmake . && make
  <commit_msg>Update .travis.yml<commit_after>language: cpp

compiler:
  - gcc
#  - clang

before_install:
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  - sudo apt-get update -qq
# g++4.8.1
  - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
  - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
# clang 3.4
  - if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq clang-3.4; fi
  #libstdc++-4.8 is needed by Clang to build too
  - if [ "$CXX" == "clang++" ]; then sudo apt-get install -qq g++-4.8 libstdc++-4.8-dev; fi
#  - if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; fi
  # boost is needed for unit tests
  - sudo apt-get install libboost-dev

script:
  - $CXX --version
#  - cd devscan && cmake . && make
  - pwd
  - find / | grep libboost
  - cd client/test && cmake . && make
  
{'fraction_non_alphanumeric': 0.20082938388625593, 'fraction_numerical': 0.024881516587677725, 'mean_word_length': 2.608974358974359, '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': '1615582', 'n_tokens_mistral': 725, 'n_tokens_neox': 687, 'n_words': 192}