<commit_before>language: cpp
dist: trusty

matrix:
    include:
        # Linux gcc6
        - os: linux
          compiler: gcc
          env:
          addons:
              apt:
                sources:
                    # add PPAs with more up-to-date toolchains
                    - ubuntu-toolchain-r-test
                    - george-edison55-precise-backports # cmake 3.2.3 / doxygen 1.8.3
                packages:
                    # install toolchains
                    - gcc-6
                    - g++-6
                    - cmake
                    - cmake-data

        # OSX Apple Clang and gcc6
        - os: osx
          osx_image: xcode8.3
          compiler: 
            - gcc
            - clang

before_install:

install:
    - if [ "$CXX" = "g++" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then export CXX="g++-6" CC="gcc-6"; fi
    - if [ "$CXX" = "g++" ] && [ "$TRAVIS_OS_NAME" = "osx" ]; then port install gcc6; fi

notifications:
  email: false

script:
  - $CXX --version
  
  # Install Eigen3
  - hg clone https://bitbucket.org/eigen/eigen/
  - ln -s $HOME/build/vsoftco/qpp/eigen $HOME/eigen
  
  # Build a minimal example<commit_msg>commit<commit_after>language: cpp
dist: trusty

matrix:
    include:
        # Linux gcc6
        - os: linux
          compiler: gcc
          before_install:
              export CXX="g++-6" CC="gcc-6"
          env:
          addons:
              apt:
                sources:
                    # add PPAs with more up-to-date toolchains
                    - ubuntu-toolchain-r-test
                    - george-edison55-precise-backports # cmake 3.2.3 / doxygen 1.8.3
                packages:
                    # install toolchains
                    - gcc-6
                    - g++-6
                    - cmake
                    - cmake-data

        # OSX Apple Clang 
        - os: osx
          osx_image: xcode8.3
          compiler: clang

        # OSX gcc6
        - os: osx
          compiler: gcc
          before_install:
              port install gcc6

notifications:
  email: false

script:
  - $CXX --version
  
  # Install Eigen3
  - hg clone https://bitbucket.org/eigen/eigen/
  - ln -s $HOME/build/vsoftco/qpp/eigen $HOME/eigen
  
  # Build a minimal example
{'fraction_non_alphanumeric': 0.09986743261157756, 'fraction_numerical': 0.015908086610693768, 'mean_word_length': 1.1480075901328273, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2579790', 'n_tokens_mistral': 755, 'n_tokens_neox': 691, 'n_words': 164}