<commit_before># References https://gist.github.com/dan-blanchard/7045057
# and https://docs.travis-ci.com/user/trusty-ci-environment/

dist: trusty

matrix:
  include:
    - env: PYTHON=2.6
      env: NUMPY="numpy=1.6"
    #- env: PYTHON=2.7
      #env: NUMPY="numpy=1.7"
    #- env: PYTHON=3.3
      #env: NUMPY="numpy=1.8"
    #- env: PYTHON=3.4
      #env: NUMPY="numpy=1.9"
    - env: PYTHON=3.5
      env: NUMPY="numpy=1.10"

branches:
  only:
    - master

before_install:
  # Install Miniconda
  - wget http://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=$HOME/miniconda3/bin:$PATH
  # Setup environment
  - conda update --yes conda
  - conda create -n travisci --yes python=$PYTHON $NUMPY cffi pip
  - source activate travisci
  - CONDA_INSTALL="conda install --yes -q"
  - PIP_INSTALL="pip install -q"
  # Install llvmdev (separate channel, for now)
  - $CONDA_INSTALL -c numba llvmdev="3.6*"
  # Install unittest2 for Python 2
  - if [ $PYTHON == "2.6" ]; then $CONDA_INSTALL unittest2 argparse; fi
  # Install enum34 and singledispatch for Python < 3.4
  - if [ $PYTHON \< "3.4" ]; then $CONDA_INSTALL enum34; fi
  - if [ $PYTHON \< "3.4" ]; then $PIP_INSTALL singledispatch; fi
  # Install funcsigs for Python < 3.3
  - if [ $PYTHON \< "3.3" ]; then $CONDA_INSTALL -c numba funcsigs; fi
  # Install dependencies for building the documentation
  - $CONDA_INSTALL sphinx pygments
  - $PIP_INSTALL sphinxjp.themecore sphinxjp.themes.basicstrap

install:
    # Build and install llvmlite from source
    - git clone git://github.com/numba/llvmlite.git -q
    - cd llvmlite && python setup.py build && python setup.py install -q >/dev/null && cd ..
    # Build numba extensions without silencing compile errors
    - python setup.py build_ext -q
    # Install numba
    - python setup.py install -q >/dev/null

script:
    # Ensure that the documentation builds without warnings
    - cd $TRAVIS_BUILD_DIR/docs ; make SPHINXOPTS=-W clean html
    # Run the Numba test suite
    - cd ~ ; NUMBA_ENABLE_CUDASIM=1 python -m numba.testing -b -m

notifications:
  email: false
  flowdock: "cb7bc57e58b3d42f77685f93211c03ab"
  on_success: "change"
  on_failure: "always" # "change"
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/bd67cc227432d99bf1f1
    on_success: change
    on_failure: always
    on_start: false
<commit_msg>Try to fix env specification<commit_after># References https://gist.github.com/dan-blanchard/7045057
# and https://docs.travis-ci.com/user/trusty-ci-environment/

dist: trusty

matrix:
  include:
    - env: PYTHON=2.6 NUMPY="numpy=1.6"
    #- env: PYTHON=2.7
      #env: NUMPY="numpy=1.7"
    #- env: PYTHON=3.3
      #env: NUMPY="numpy=1.8"
    #- env: PYTHON=3.4
      #env: NUMPY="numpy=1.9"
    - env: PYTHON=3.5 NUMPY="numpy=1.10"

branches:
  only:
    - master

before_install:
  # Install Miniconda
  - wget http://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=$HOME/miniconda3/bin:$PATH
  # Setup environment
  - conda update --yes conda
  - conda create -n travisci --yes python=$PYTHON $NUMPY cffi pip
  - source activate travisci
  - CONDA_INSTALL="conda install --yes -q"
  - PIP_INSTALL="pip install -q"
  # Install llvmdev (separate channel, for now)
  - $CONDA_INSTALL -c numba llvmdev="3.6*"
  # Install unittest2 for Python 2
  - if [ $PYTHON == "2.6" ]; then $CONDA_INSTALL unittest2 argparse; fi
  # Install enum34 and singledispatch for Python < 3.4
  - if [ $PYTHON \< "3.4" ]; then $CONDA_INSTALL enum34; fi
  - if [ $PYTHON \< "3.4" ]; then $PIP_INSTALL singledispatch; fi
  # Install funcsigs for Python < 3.3
  - if [ $PYTHON \< "3.3" ]; then $CONDA_INSTALL -c numba funcsigs; fi
  # Install dependencies for building the documentation
  - $CONDA_INSTALL sphinx pygments
  - $PIP_INSTALL sphinxjp.themecore sphinxjp.themes.basicstrap

install:
    # Build and install llvmlite from source
    - git clone git://github.com/numba/llvmlite.git -q
    - cd llvmlite && python setup.py build && python setup.py install -q >/dev/null && cd ..
    # Build numba extensions without silencing compile errors
    - python setup.py build_ext -q
    # Install numba
    - python setup.py install -q >/dev/null

script:
    # Ensure that the documentation builds without warnings
    - cd $TRAVIS_BUILD_DIR/docs ; make SPHINXOPTS=-W clean html
    # Run the Numba test suite
    - cd ~ ; NUMBA_ENABLE_CUDASIM=1 python -m numba.testing -b -m

notifications:
  email: false
  flowdock: "cb7bc57e58b3d42f77685f93211c03ab"
  on_success: "change"
  on_failure: "always" # "change"
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/bd67cc227432d99bf1f1
    on_success: change
    on_failure: always
    on_start: false

{'fraction_non_alphanumeric': 0.1228682966920074, 'fraction_numerical': 0.03739469899321964, 'mean_word_length': 3.0198183319570604, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 7, 'https://': 6, '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': '4753942', 'n_tokens_mistral': 1992, 'n_tokens_neox': 1882, 'n_words': 454}