<commit_before># We set the language to c because python isn't supported on the MacOS X nodes
# on Travis. However, the language ends up being irrelevant anyway, since we
# install Python ourselves using conda.
language: c

os:
    - linux

# Setting sudo to false opts in to Travis-CI container-based builds.
sudo: false

# The apt packages below are needed for sphinx builds, which can no longer
# be installed with sudo apt-get.
addons:
    apt:
        packages:
            - graphviz
            - texlive-latex-extra
            - dvipng
env:
    global:
        # Set defaults to avoid repeating in most cases
        - NUMPY_VERSION=1.9
        - MAIN_CMD='python setup.py'
        - CONDA_DEPENDENCIES='Cython jinja2 scipy h5py matplotlib pyyaml scikit-image pandas'
        - PIP_DEPENDENCIES='beautifulsoup4'

    matrix:
        - PYTHON_VERSION=2.6 SETUP_CMD='egg_info'
        - PYTHON_VERSION=2.7 SETUP_CMD='egg_info'
        - PYTHON_VERSION=3.3 SETUP_CMD='egg_info'
        - PYTHON_VERSION=3.4 SETUP_CMD='egg_info'
        - PYTHON_VERSION=3.5 SETUP_CMD='egg_info'

matrix:

    # Don't wait for allowed failures
    fast_finish: true

    include:

        # Try MacOS X
        - os: osx
          env: PYTHON_VERSION=2.7 SETUP_CMD='test'

        # Check for sphinx doc build warnings - we do this first because it
        # runs for a long time
        - os: linux
          env: PYTHON_VERSION=2.7 SETUP_CMD='build_sphinx -w'

        # Try all python versions with the latest numpy, but without the
        # optional dependencies
        - os: linux
          env: PYTHON_VERSION=2.6 SETUP_CMD='test --open-files'
               CONDA_DEPENDENCIES='Cython jinja2' PIP_DEPENDENCIES=''
        - os: linux
          env: PYTHON_VERSION=2.7 SETUP_CMD='test --open-files'
               CONDA_DEPENDENCIES='Cython jinja2' PIP_DEPENDENCIES=''
        - os: linux
          env: PYTHON_VERSION=3.3 SETUP_CMD='test --open-files'
               CONDA_DEPENDENCIES='Cython jinja2' PIP_DEPENDENCIES=''
        - os: linux
          env: PYTHON_VERSION=3.4 SETUP_CMD='test --open-files'
               CONDA_DEPENDENCIES='Cython jinja2' PIP_DEPENDENCIES=''
        - os: linux
          env: PYTHON_VERSION=3.5 SETUP_CMD='test --open-files'
               CONDA_DEPENDENCIES='Cython jinja2' PIP_DEPENDENCIES=''

        # Now try with all optional dependencies on 2.7 and an appropriate 3.x
        # build (with latest numpy). We also note the code coverage on Python<commit_msg>Adding wcsaxes for docs build<commit_after># We set the language to c because python isn't supported on the MacOS X nodes
# on Travis. However, the language ends up being irrelevant anyway, since we
# install Python ourselves using conda.
language: c

os:
    - linux

# Setting sudo to false opts in to Travis-CI container-based builds.
sudo: false

# The apt packages below are needed for sphinx builds, which can no longer
# be installed with sudo apt-get.
addons:
    apt:
        packages:
            - graphviz
            - texlive-latex-extra
            - dvipng
env:
    global:
        # Set defaults to avoid repeating in most cases
        - NUMPY_VERSION=1.9
        - MAIN_CMD='python setup.py'
        - CONDA_DEPENDENCIES='Cython jinja2 scipy h5py matplotlib pyyaml scikit-image pandas'
        - PIP_DEPENDENCIES='beautifulsoup4'

    matrix:
        - PYTHON_VERSION=2.6 SETUP_CMD='egg_info'
        - PYTHON_VERSION=2.7 SETUP_CMD='egg_info'
        - PYTHON_VERSION=3.3 SETUP_CMD='egg_info'
        - PYTHON_VERSION=3.4 SETUP_CMD='egg_info'
        - PYTHON_VERSION=3.5 SETUP_CMD='egg_info'

matrix:

    # Don't wait for allowed failures
    fast_finish: true

    include:

        # Try MacOS X
        - os: osx
          env: PYTHON_VERSION=2.7 SETUP_CMD='test'

        # Check for sphinx doc build warnings - we do this first because it
        # runs for a long time. WCSAxes is a dependency for the docs.
        - os: linux
          env: PYTHON_VERSION=2.7 SETUP_CMD='build_sphinx -w'
               PIP_DEPENDENCIES='beautifulsoup4 wcsaxes'

        # Try all python versions with the latest numpy, but without the
        # optional dependencies
        - os: linux
          env: PYTHON_VERSION=2.6 SETUP_CMD='test --open-files'
               CONDA_DEPENDENCIES='Cython jinja2' PIP_DEPENDENCIES=''
        - os: linux
          env: PYTHON_VERSION=2.7 SETUP_CMD='test --open-files'
               CONDA_DEPENDENCIES='Cython jinja2' PIP_DEPENDENCIES=''
        - os: linux
          env: PYTHON_VERSION=3.3 SETUP_CMD='test --open-files'
               CONDA_DEPENDENCIES='Cython jinja2' PIP_DEPENDENCIES=''
        - os: linux
          env: PYTHON_VERSION=3.4 SETUP_CMD='test --open-files'
               CONDA_DEPENDENCIES='Cython jinja2' PIP_DEPENDENCIES=''
        - os: linux
          env: PYTHON_VERSION=3.5 SETUP_CMD='test --open-files'
               CONDA_DEPENDENCIES='Cython jinja2' PIP_DEPENDENCIES=''

        # Now try with all optional dependencies on 2.7 and an appropriate 3.x
        # build (with latest numpy). We also note the code coverage on Python
{'fraction_non_alphanumeric': 0.08094864758918072, 'fraction_numerical': 0.014700117600940808, 'mean_word_length': 2.350623768877216, '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': '3127707', 'n_tokens_mistral': 1779, 'n_tokens_neox': 1668, 'n_words': 468}