<commit_before>language: generic
sudo: false
matrix:
  include:

    - os: linux
      compiler: gfortran
      env: SOURCES=ubuntu-toolchain-r-test
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
             # compilers
            - g++
            - gfortran
            - cmake
#            - automake
              # math libraries
            - libblas-dev
            - liblapack-dev
            - libatlas-base-dev
            - libopenblas-base
            - libopenblas-dev
              # other
            - doxygen

    - os: osx
      osx_image: xcode10.2
      compiler: gfortran
      env: SOURCES=homebrew
      addons:
        brew:
          packages:
            -m4
#            - autoconf
#            - automake
            -doxygen

before_install:
  - mkdir gauopen
  - mkdir mqc-install
  - cd gauopen
  - wget http://gaussian.com/g16/gauopen_v2.zip
  - unzip gauopen_v2.zip
  - cd ..
  - which automake
  - autoconf --version
  - automake --version

install: 
#  - |
#    if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
#      brew install cmake boost gcc open-mpi autoconf automake
  - echo -e "yG$TRAVIS_BUILD_DIR/mqc-install\n-lblas\n-llapack\n$TRAVIS_BUILD_DIR/gauopen\nn\n" | ./mqc_install
  - doxygen doc/Doxyfile 

#    elif [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
#      apt install autotools<commit_msg>Travis test<commit_after>language: generic
sudo: false
matrix:
  include:

    - os: linux
      compiler: gfortran
      env: SOURCES=ubuntu-toolchain-r-test
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
             # compilers
            - g++
            - gfortran
            - cmake
#            - automake
              # math libraries
            - libblas-dev
            - liblapack-dev
            - libatlas-base-dev
            - libopenblas-base
            - libopenblas-dev
              # other
            - doxygen

    - os: osx
      osx_image: xcode10.2
      compiler: gfortran
      env: SOURCES=homebrew
      addons:
        brew:
          packages:
            -m4
#            - autoconf
#            - automake
            -doxygen

before_install:
  - mkdir gauopen
  - mkdir mqc-install
  - cd gauopen
  - wget http://gaussian.com/g16/gauopen_v2.zip
  - unzip gauopen_v2.zip
  - cd ..
  - which automake
  - autoconf --version
  - automake --version

install: 
#  - |
#    if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
#      brew install cmake boost gcc open-mpi autoconf automake
  - echo -e "yG$TRAVIS_BUILD_DIR/mqc-install\n-lblas\n-llapack\n$TRAVIS_BUILD_DIR/gauopen\nn\n" | ./mqc_install
    #  - doxygen doc/Doxyfile 

#    elif [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
#      apt install autotools
{'fraction_non_alphanumeric': 0.10347296813462227, 'fraction_numerical': 0.005728607232366631, 'mean_word_length': 1.4423076923076923, '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': '283372', 'n_tokens_mistral': 983, 'n_tokens_neox': 953, 'n_words': 180}