<commit_before>sudo: false

language: cpp

matrix:
  include:
    #
    # Linux
    #
    - os: linux
      compiler: gcc
      env: DEBUG=YES
           MPI=NO
           CODECOV=NO
           MFEM_TEST_TARGET=check
    #
    - os: linux
      compiler: gcc
      env: DEBUG=NO
           MPI=NO
           CODECOV=NO
           MFEM_TEST_TARGET=test
    #
    - os: linux
      compiler: gcc
      addons:
        apt:
          # sources:
            # - ubuntu-toolchain-r-test
          packages:
            # GCC 4.9
            # - g++-4.9
            # MPICH
            - mpich
            - libmpich-dev
            # OpenMPI
            # - openmpi-bin
            # - libopenmpi-dev
      env: DEBUG=YES
           MPI=YES
           CODECOV=NO
           MFEM_TEST_TARGET=check
           NPROCS=2
      cache:
        directories:
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/lib
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/include
          - $TRAVIS_BUILD_DIR/../metis-4.0
      before_cache:
        - cd $TRAVIS_BUILD_DIR/../metis-4.0;
          mv libmetis.a ..; rm -rf *; mv ../libmetis.a .
    #
    - os: linux
      compiler: gcc
      addons:
        apt:
          # sources:
            # - ubuntu-toolchain-r-test
          packages:
            # GCC 4.9
            # - g++-4.9
            # MPICH
            - mpich
            - libmpich-dev
            # OpenMPI
            # - openmpi-bin
            # - libopenmpi-dev
      env: DEBUG=NO
           MPI=YES
           CODECOV=YES
           MFEM_TEST_TARGET=test
           NPROCS=2
      cache:
        directories:
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/lib
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/include
          - $TRAVIS_BUILD_DIR/../metis-4.0
      before_cache:
        - cd $TRAVIS_BUILD_DIR/../metis-4.0;
          mv libmetis.a ..; rm -rf *; mv ../libmetis.a .
    #
    # Mac OS X
    #
    - os: osx
      # osx_image: xcode7.3
      compiler: clang
      env: DEBUG=YES
           MPI=NO
           CODECOV=NO
           MFEM_TEST_TARGET=check
    #
    - os: osx
      # osx_image: xcode7.3
      compiler: clang
      env: DEBUG=NO
           MPI=NO
           CODECOV=NO
           MFEM_TEST_TARGET=test
    #
    - os: osx
      # osx_image: xcode7.3
      compiler: clang
      env: DEBUG=YES
           MPI=YES
           CODECOV=NO
           MFEM_TEST_TARGET=check
           NPROCS=4
           TMPDIR=/tmp
      cache:
        directories:
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/lib
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/include
          - $TRAVIS_BUILD_DIR/../metis-4.0
          - $HOME/local-cached
      before_cache:
        - cd $TRAVIS_BUILD_DIR/../metis-4.0;
          mv libmetis.a ..; rm -rf *; mv ../libmetis.a .
    #
    - os: osx
      # osx_image: xcode7.3
      compiler: clang
      env: DEBUG=NO
           MPI=YES
           CODECOV=YES
           MFEM_TEST_TARGET=test
           NPROCS=4
           TMPDIR=/tmp
      cache:
        directories:
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/lib
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/include
          - $TRAVIS_BUILD_DIR/../metis-4.0
          - $HOME/local-cached
      before_cache:
        - cd $TRAVIS_BUILD_DIR/../metis-4.0;
          mv libmetis.a ..; rm -rf *; mv ../libmetis.a .


before_install:
   # No addon for brew yet, have to install OSX packages this way.
   # - if [ $TRAVIS_OS_NAME == "osx" ] && [ $MPI == "YES" ]; then
   #      brew install open-mpi;
   #   fi<commit_msg>Experimenting with order of Travis runs<commit_after>sudo: false

language: cpp

matrix:
  include:
    #
    - os: osx
      # osx_image: xcode7.3
      compiler: clang
      env: DEBUG=NO
           MPI=YES
           CODECOV=YES
           MFEM_TEST_TARGET=test
           NPROCS=4
           TMPDIR=/tmp
      cache:
        directories:
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/lib
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/include
          - $TRAVIS_BUILD_DIR/../metis-4.0
          - $HOME/local-cached
      before_cache:
        - cd $TRAVIS_BUILD_DIR/../metis-4.0;
          mv libmetis.a ..; rm -rf *; mv ../libmetis.a .
    #
    # Linux
    #
    - os: linux
      compiler: gcc
      env: DEBUG=YES
           MPI=NO
           CODECOV=NO
           MFEM_TEST_TARGET=check
    #
    - os: linux
      compiler: gcc
      env: DEBUG=NO
           MPI=NO
           CODECOV=NO
           MFEM_TEST_TARGET=test
    #
    - os: linux
      compiler: gcc
      addons:
        apt:
          # sources:
            # - ubuntu-toolchain-r-test
          packages:
            # GCC 4.9
            # - g++-4.9
            # MPICH
            - mpich
            - libmpich-dev
            # OpenMPI
            # - openmpi-bin
            # - libopenmpi-dev
      env: DEBUG=YES
           MPI=YES
           CODECOV=NO
           MFEM_TEST_TARGET=check
           NPROCS=2
      cache:
        directories:
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/lib
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/include
          - $TRAVIS_BUILD_DIR/../metis-4.0
      before_cache:
        - cd $TRAVIS_BUILD_DIR/../metis-4.0;
          mv libmetis.a ..; rm -rf *; mv ../libmetis.a .
    #
    - os: linux
      compiler: gcc
      addons:
        apt:
          # sources:
            # - ubuntu-toolchain-r-test
          packages:
            # GCC 4.9
            # - g++-4.9
            # MPICH
            - mpich
            - libmpich-dev
            # OpenMPI
            # - openmpi-bin
            # - libopenmpi-dev
      env: DEBUG=NO
           MPI=YES
           CODECOV=YES
           MFEM_TEST_TARGET=test
           NPROCS=2
      cache:
        directories:
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/lib
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/include
          - $TRAVIS_BUILD_DIR/../metis-4.0
      before_cache:
        - cd $TRAVIS_BUILD_DIR/../metis-4.0;
          mv libmetis.a ..; rm -rf *; mv ../libmetis.a .
    #
    # Mac OS X
    #
    - os: osx
      # osx_image: xcode7.3
      compiler: clang
      env: DEBUG=YES
           MPI=NO
           CODECOV=NO
           MFEM_TEST_TARGET=check
    #
    - os: osx
      # osx_image: xcode7.3
      compiler: clang
      env: DEBUG=NO
           MPI=NO
           CODECOV=NO
           MFEM_TEST_TARGET=test
    #
    - os: osx
      # osx_image: xcode7.3
      compiler: clang
      env: DEBUG=YES
           MPI=YES
           CODECOV=NO
           MFEM_TEST_TARGET=check
           NPROCS=4
           TMPDIR=/tmp
      cache:
        directories:
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/lib
          - $TRAVIS_BUILD_DIR/../hypre-2.10.0b/src/hypre/include
          - $TRAVIS_BUILD_DIR/../metis-4.0
          - $HOME/local-cached
      before_cache:
        - cd $TRAVIS_BUILD_DIR/../metis-4.0;
          mv libmetis.a ..; rm -rf *; mv ../libmetis.a .


before_install:
   # No addon for brew yet, have to install OSX packages this way.
   # - if [ $TRAVIS_OS_NAME == "osx" ] && [ $MPI == "YES" ]; then
   #      brew install open-mpi;
   #   fi
{'fraction_non_alphanumeric': 0.11611833010782416, 'fraction_numerical': 0.018800110588885817, 'mean_word_length': 1.1726726726726726, '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': '591807', 'n_tokens_mistral': 2797, 'n_tokens_neox': 2623, 'n_words': 414}