<commit_before>sudo: false

language: python

python:
    - 2.7
    - 3.4

env:
    global:
        - MINICONDA_VERSION="latest"
        - BOKEH_DEFAULT_TIMEOUT=30
        - secure: "<KEY>
        - secure: "<KEY>
        - secure: "<KEY>
        - secure: "<KEY>
        - secure: "<KEY>

matrix:
    include:
        - python: 2.7
          env: BOKEH_DEFAULT_DIFF=FETCH_HEAD
    exclude:
        - python: 2.7

branches:
  only:
    - master
    - /^\d+.\d+.\d+dev\d+$/
    - /^\d+.\d+.\d+rc\d+$/
    - /^\d+.\d+.\d+$/

before_install:
    - export PATH="$HOME/miniconda/bin:$PATH"
    - echo $TRAVIS_BUILD_NUMBER > __travis_build_number__.txt
    - nvm install stable
    - nvm use stable
    # Use xvfb to run tests that require firefox
    # http://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-GUI-%28e.g.-a-Web-browser%29
    - "export DISPLAY=:99.0"
    - "sh -e /etc/init.d/xvfb start"

install:
    - scripts/travis_install

script:
    # Deactivate tests on building to avoid huge packages contaning the pics and outout html
    # Eventually, we need to get rid of the generated stuff before packaging
    - if [[ -z "$TRAVIS_TAG" ]]; then py.test -s -m js -rs; fi  # Run just the JS first so we see the output
    - if [[ -z "$TRAVIS_TAG" ]]; then py.test -m 'not (examples or js or integration)' --cov=bokeh -rs; fi  # Run the not examples or js tests (we can eat stdout for this one)
    - if [[ -z "$TRAVIS_TAG" ]]; then py.test -m integration -rs; fi  # Run the integration tests<commit_msg>try specify nvm explicitly<commit_after>sudo: false

language: python

python:
    - 2.7
    - 3.4

env:
    global:
        - MINICONDA_VERSION="latest"
        - BOKEH_DEFAULT_TIMEOUT=30
        - secure: "<KEY>
        - secure: "<KEY>
        - secure: "<KEY>
        - secure: "<KEY>
        - secure: "<KEY>

matrix:
    include:
        - python: 2.7
          env: BOKEH_DEFAULT_DIFF=FETCH_HEAD
    exclude:
        - python: 2.7

branches:
  only:
    - master
    - /^\d+.\d+.\d+dev\d+$/
    - /^\d+.\d+.\d+rc\d+$/
    - /^\d+.\d+.\d+$/

before_install:
    - export PATH="$HOME/miniconda/bin:$PATH"
    - echo $TRAVIS_BUILD_NUMBER > __travis_build_number__.txt
    - nvm install 0.12
    - nvm use 0.12
    # Use xvfb to run tests that require firefox
    # http://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-GUI-%28e.g.-a-Web-browser%29
    - "export DISPLAY=:99.0"
    - "sh -e /etc/init.d/xvfb start"

install:
    - scripts/travis_install

script:
    # Deactivate tests on building to avoid huge packages contaning the pics and outout html
    # Eventually, we need to get rid of the generated stuff before packaging
    - if [[ -z "$TRAVIS_TAG" ]]; then py.test -s -m js -rs; fi  # Run just the JS first so we see the output
    - if [[ -z "$TRAVIS_TAG" ]]; then py.test -m 'not (examples or js or integration)' --cov=bokeh -rs; fi  # Run the not examples or js tests (we can eat stdout for this one)
    - if [[ -z "$TRAVIS_TAG" ]]; then py.test -m integration -rs; fi  # Run the integration tests
{'fraction_non_alphanumeric': 0.14345448697330332, 'fraction_numerical': 0.012865873271148279, 'mean_word_length': 2.219461697722567, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '5721598', 'n_tokens_mistral': 1167, 'n_tokens_neox': 1134, 'n_words': 310}