<commit_before>language: node_js
node_js:
  "8"

matrix:
  include:
    - os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-7
            - libhdf5-dev
      env:
        - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
    - os: osx
      osx_image: xcode8
      env:
        # MATRIX_EVAL="brew install gcc && CC=gcc-7 && CXX=g++-7"


before_install:
   # if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then eval "${MATRIX_EVAL}" ; fi
  - wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.2/src/hdf5-1.10.2.tar.gz -O /tmp/hdf5-1.10.2.tar.gz
  - tar -zxvf /tmp/hdf5-1.10.2.tar.gz
  - cd `pwd`/hdf5-1.10.2
  - ./configure --prefix=`pwd`/dist --enable-shared=yes --enable-static=no --enable-parallel=no --enable-hl --enable-build-mode=production --without-szlib
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then make -j2 2>&1 &> hdf5_screen.txt ; else locate libhdf5.so  ; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then make install ; else locate libhdf5.so  ; fi
  - which g++
  - g++ --version
  - cd ..
  - export HDF5_HOME=`pwd`/hdf5-1.10.2/dist
  
install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then export HDF5_HOME=`pwd`/hdf5-1.10.2/dist ; else export HDF5_HOME=/usr/lib/x86_64-linux-gnu/hdf5/serial ; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then echo ${HDF5_HOME} ; else export CC=gcc-7 && export CXX=g++-7 ; fi
  # ${CXX} --version<commit_msg>moved locate check for hdf5 libs<commit_after>language: node_js
node_js:
  "8"

matrix:
  include:
    - os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-7
            - libhdf5-dev
      env:
        - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
    - os: osx
      osx_image: xcode8
      env:
        # MATRIX_EVAL="brew install gcc && CC=gcc-7 && CXX=g++-7"


before_install:
   # if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then eval "${MATRIX_EVAL}" ; fi
  - wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.2/src/hdf5-1.10.2.tar.gz -O /tmp/hdf5-1.10.2.tar.gz
  - tar -zxvf /tmp/hdf5-1.10.2.tar.gz
  - cd `pwd`/hdf5-1.10.2
  - ./configure --prefix=`pwd`/dist --enable-shared=yes --enable-static=no --enable-parallel=no --enable-hl --enable-build-mode=production --without-szlib
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then make -j2 2>&1 &> hdf5_screen.txt ; else echo ${$TRAVIS_OS_NAME}  ; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then make install ; else echo ${$TRAVIS_OS_NAME}  ; fi
  - locate libhdf5.so
  - which g++
  - g++ --version
  - cd ..
  - export HDF5_HOME=`pwd`/hdf5-1.10.2/dist
  
install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then export HDF5_HOME=`pwd`/hdf5-1.10.2/dist ; else export HDF5_HOME=/usr/lib/x86_64-linux-gnu/hdf5/serial ; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then echo ${HDF5_HOME} ; else export CC=gcc-7 && export CXX=g++-7 ; fi
  # ${CXX} --version
{'fraction_non_alphanumeric': 0.19109146548792927, 'fraction_numerical': 0.044202652159129545, 'mean_word_length': 2.3318233295583237, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4384267', 'n_tokens_mistral': 1346, 'n_tokens_neox': 1287, 'n_words': 220}