<commit_before>sudo: false

language: cpp

addons: &addons
  apt:
    packages: timeout
    sources: &sources
      - ubuntu-toolchain-r-test
      - llvm-toolchain-precise-3.5
      - llvm-toolchain-precise-3.6
      - llvm-toolchain-precise-3.7
      - llvm-toolchain-precise-3.8
      - llvm-toolchain-precise

cache:
  apt: true
  ccache: true
  directories:
    - $HOME/.ccache
    - $CLING_BUILD_DEPS

env:
  global:
    - USE_CCACHE=1
    - CCACHE_COMPRESS=1
    - CCACHE_MAXSIZE=500M
    - CCACHE_CPP2=1
    - TIMEOUT=0
    - secure: "<KEY>

# Do not build our sync branch.
branches:
  except:
    - /^__internal.*$/
  only:
    - master
    - cling-nightlies

matrix:
  # Abort all builds on a single failing matrix entry.
  fast_finish: true

  exclude:
    # Note: Workaround travis-ci/travis-ci#4681
    # Exclude default job which lacks our included environment variables.
    - os: osx
    - os: linux

  include:
    # There seems to be a hard limit to how many machines a Travis build will
    # across all platforms. By interleaving OS X, the hope is to get in the
    # queue faster while not blocking Linux builds from occuring.
    - os: linux
      env: DIST=pangolin COMPILER=g++-4.7 CCOMPILER=gcc-4.7 NIGHTLY_CRON_SYNC=1
      addons:
        apt:
          sources: *sources
          packages: g++-4.7
      compiler: gcc-4.7

    - os: linux
      env: DIST=pangolin COMPILER=g++-4.8 CCOMPILER=gcc-4.8
      addons:
        apt:
          sources: *sources
          packages: g++-4.8
      compiler: gcc-4.8

    - os: linux
      env: DIST=pangolin COMPILER=g++-4.9 CCOMPILER=gcc-4.9
      addons:
        apt:
          sources: *sources
          packages: g++-4.9
      compiler: gcc-4.9

    - os: osx
      env: COMPILER=clang++ CCOMPILER=clang
      osx_image: xcode6.4
      compiler: clang

    - os: linux
      env: DIST=pangolin COMPILER=g++-5 CCOMPILER=gcc-5
      addons:
        apt:
          sources: *sources
          packages: g++-5
      compiler: gcc-5

    - os: linux
      env: DIST=pangolin COMPILER=g++-6 CCOMPILER=gcc-6
      addons:
        apt:
          sources: *sources
          packages: g++-6
      compiler: gcc-6

    - os: linux
      env: DIST=trusty COMPILER=g++-4.7 CCOMPILER=gcc-4.7
      sudo: required
      dist: trusty
      addons:
        apt:
          sources: *sources
          packages: g++-4.7
      compiler: gcc-4.7

    - os: linux
      env: DIST=trusty COMPILER=g++-4.8 CCOMPILER=gcc-4.8
      sudo: required
      dist: trusty
      addons:
        apt:
          sources: *sources
          packages: g++-4.8
      compiler: gcc-4.8

    - os: linux
      env: DIST=trusty COMPILER=g++-4.9 CCOMPILER=gcc-4.9
      sudo: required
      dist: trusty
      addons:
        apt:
          sources: *sources
          packages: g++-4.9
      compiler: gcc-4.9

    - os: osx
      env: COMPILER=g++-6 CCOMPILER=gcc-6
      osx_image: xcode7.3
      compiler: g++-6

    - os: linux
      env: DIST=trusty COMPILER=g++-5 CCOMPILER=gcc-5
      sudo: required
      dist: trusty
      addons:
        apt:
          sources: *sources
          packages: g++-5
      compiler: gcc-5

    - os: linux
      env: DIST=trusty COMPILER=g++-6 CCOMPILER=gcc-6
      sudo: required
      dist: trusty
      addons:
        apt:
          sources: *sources
          packages: g++-6
      compiler: gcc-6

    - os: osx
      env: COMPILER=clang++ CCOMPILER=clang
      osx_image: xcode7.3
      compiler: clang

    - os: linux
      env: CXXLIB=libstdc++ COMPILER=clang++-3.7 CCOMPILER=clang-3.7
      addons:
        apt:
          sources: *sources
          packages: ['clang-3.7', 'libstdc++-5-dev']
      compiler: clang-3.7

    - os: linux
      env: CXXLIB=libstdc++ COMPILER=clang++-3.8 CCOMPILER=clang-3.8<commit_msg>Travis: Distribute OS X builds more evenly (for wait/queuing purposes).<commit_after>sudo: false

language: cpp

addons: &addons
  apt:
    packages: timeout
    sources: &sources
      - ubuntu-toolchain-r-test
      - llvm-toolchain-precise-3.5
      - llvm-toolchain-precise-3.6
      - llvm-toolchain-precise-3.7
      - llvm-toolchain-precise-3.8
      - llvm-toolchain-precise

cache:
  apt: true
  ccache: true
  directories:
    - $HOME/.ccache
    - $CLING_BUILD_DEPS

env:
  global:
    - USE_CCACHE=1
    - CCACHE_COMPRESS=1
    - CCACHE_MAXSIZE=500M
    - CCACHE_CPP2=1
    - TIMEOUT=0
    - secure: "<KEY>

# Do not build our sync branch.
branches:
  except:
    - /^__internal.*$/
  only:
    - master
    - cling-nightlies

matrix:
  # Abort all builds on a single failing matrix entry.
  fast_finish: true

  exclude:
    # Note: Workaround travis-ci/travis-ci#4681
    # Exclude default job which lacks our included environment variables.
    - os: osx
    - os: linux

  include:
    # There seems to be a hard limit to how many machines a Travis build will
    # across all platforms. By interleaving OS X, the hope is to get in the
    # queue faster while not blocking Linux builds from occuring.
    - os: linux
      env: DIST=pangolin COMPILER=g++-4.7 CCOMPILER=gcc-4.7 NIGHTLY_CRON_SYNC=1
      addons:
        apt:
          sources: *sources
          packages: g++-4.7
      compiler: gcc-4.7

    - os: linux
      env: DIST=pangolin COMPILER=g++-4.8 CCOMPILER=gcc-4.8
      addons:
        apt:
          sources: *sources
          packages: g++-4.8
      compiler: gcc-4.8

    - os: linux
      env: DIST=pangolin COMPILER=g++-4.9 CCOMPILER=gcc-4.9
      addons:
        apt:
          sources: *sources
          packages: g++-4.9
      compiler: gcc-4.9

    - os: osx
      env: COMPILER=clang++ CCOMPILER=clang
      osx_image: xcode6.4
      compiler: clang

    - os: linux
      env: DIST=pangolin COMPILER=g++-5 CCOMPILER=gcc-5
      addons:
        apt:
          sources: *sources
          packages: g++-5
      compiler: gcc-5

    - os: linux
      env: DIST=pangolin COMPILER=g++-6 CCOMPILER=gcc-6
      addons:
        apt:
          sources: *sources
          packages: g++-6
      compiler: gcc-6

    - os: linux
      env: DIST=trusty COMPILER=g++-4.7 CCOMPILER=gcc-4.7
      sudo: required
      dist: trusty
      addons:
        apt:
          sources: *sources
          packages: g++-4.7
      compiler: gcc-4.7

    - os: osx
      env: COMPILER=g++-6 CCOMPILER=gcc-6
      osx_image: xcode7.3
      compiler: g++-6

    - os: linux
      env: DIST=trusty COMPILER=g++-4.8 CCOMPILER=gcc-4.8
      sudo: required
      dist: trusty
      addons:
        apt:
          sources: *sources
          packages: g++-4.8
      compiler: gcc-4.8

    - os: linux
      env: DIST=trusty COMPILER=g++-4.9 CCOMPILER=gcc-4.9
      sudo: required
      dist: trusty
      addons:
        apt:
          sources: *sources
          packages: g++-4.9
      compiler: gcc-4.9

    - os: linux
      env: DIST=trusty COMPILER=g++-5 CCOMPILER=gcc-5
      sudo: required
      dist: trusty
      addons:
        apt:
          sources: *sources
          packages: g++-5
      compiler: gcc-5

    - os: osx
      env: COMPILER=clang++ CCOMPILER=clang
      osx_image: xcode7.3
      compiler: clang

    - os: linux
      env: DIST=trusty COMPILER=g++-6 CCOMPILER=gcc-6
      sudo: required
      dist: trusty
      addons:
        apt:
          sources: *sources
          packages: g++-6
      compiler: gcc-6

    - os: linux
      env: CXXLIB=libstdc++ COMPILER=clang++-3.7 CCOMPILER=clang-3.7
      addons:
        apt:
          sources: *sources
          packages: ['clang-3.7', 'libstdc++-5-dev']
      compiler: clang-3.7

    - os: linux
      env: CXXLIB=libstdc++ COMPILER=clang++-3.8 CCOMPILER=clang-3.8
{'fraction_non_alphanumeric': 0.11109660574412533, 'fraction_numerical': 0.02793733681462141, 'mean_word_length': 1.8000730994152048, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1585768', 'n_tokens_mistral': 2925, 'n_tokens_neox': 2780, 'n_words': 654}