<commit_before>language: python

sudo: false

python:
  - "2.7"
  - "3.5"

notifications:
  email:
    on_failure: change # [always|never|change] default: always
  flowdock:
    secure: <KEY>


install:
  - SITE_PACKAGES=`pip --version | cut -d ' ' -f 4`
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
    else
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
    fi
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  # Useful for debugging any issues with conda
  - conda info -a
  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION flake8 scipy=1.0.0 numpy freetype nose pandas=0.22.0 jupyter ipython=4.2.0 param matplotlib=2.1.2 xarray
  - source activate test-environment
  - conda install -c conda-forge  iris plotly flexx --quiet
  - conda install -c bokeh datashader dask=0.16.1 bokeh=0.12.14 selenium
  - if [[ "$TRAVIS_PYTHON_VERSION" == "3.4" ]]; then
      conda install python=3.4.3;
    fi
  - rm -r $SITE_PACKAGES/numpy*
  - python setup.py develop
  - pip install git+git://github.com/ioam/param.git
  - pip install path.py
  - pip install coveralls awscli deepdiff
  - if [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then
      echo "Attempting to find any associated pull request";
      CURRENT_BUILD=$(curl -s -X GET "https://api.travis-ci.org/repos/ioam/holoviews/builds?number=$TRAVIS_BUILD_NUMBER");
      NEXT_BUILD=$(curl -s -X GET "https://api.travis-ci.org/repos/ioam/holoviews/builds?number=$((TRAVIS_BUILD_NUMBER + 1))");
      MSG1=$(echo $CURRENT_BUILD | jq '.[].message' );
      MSG2=$(echo $NEXT_BUILD | jq '.[].message' );
      if [ "$MSG1" == "$MSG2" ] ; then
        BUILD_ID=$(echo $NEXT_BUILD | jq .[].id);
        TRAVIS_PULL_REQUEST=$(curl -s -X GET "https://api.travis-ci.org/repos/ioam/holoviews/builds/$BUILD_ID" | jq .compare_url | cut -d '/' -f7 | cut -d \" -f1);
        echo "Associated pull request found - PR $TRAVIS_PULL_REQUEST";
      fi
    fi
  - REF_DATA_BRANCH=${TRAVIS_PULL_REQUEST//false/reference_data}
  - git clone https://github.com/ioam/holoviews-data.git -b reference_data ./doc/reference_data
  - cd ./doc/reference_data
  - echo "Attempting to checkout $REF_DATA_BRANCH branch"
  - if [ $(git branch -a --list *origin/$REF_DATA_BRANCH | wc -l) -eq 1 ] ; then
      git checkout origin/$REF_DATA_BRANCH;
    else
      echo "Using the master branch reference data";
    fi
  - cd ../..
<commit_msg>Unpin dask (#2407)<commit_after>language: python

sudo: false

python:
  - "2.7"
  - "3.5"

notifications:
  email:
    on_failure: change # [always|never|change] default: always
  flowdock:
    secure: <KEY>


install:
  - SITE_PACKAGES=`pip --version | cut -d ' ' -f 4`
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
    else
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
    fi
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  # Useful for debugging any issues with conda
  - conda info -a
  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION flake8 scipy=1.0.0 numpy freetype nose pandas=0.22.0 jupyter ipython=4.2.0 param matplotlib=2.1.2 xarray
  - source activate test-environment
  - conda install -c conda-forge  iris plotly flexx --quiet
  - conda install -c bokeh datashader dask bokeh=0.12.14 selenium
  - if [[ "$TRAVIS_PYTHON_VERSION" == "3.4" ]]; then
      conda install python=3.4.3;
    fi
  - rm -r $SITE_PACKAGES/numpy*
  - python setup.py develop
  - pip install git+git://github.com/ioam/param.git
  - pip install path.py
  - pip install coveralls awscli deepdiff
  - if [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then
      echo "Attempting to find any associated pull request";
      CURRENT_BUILD=$(curl -s -X GET "https://api.travis-ci.org/repos/ioam/holoviews/builds?number=$TRAVIS_BUILD_NUMBER");
      NEXT_BUILD=$(curl -s -X GET "https://api.travis-ci.org/repos/ioam/holoviews/builds?number=$((TRAVIS_BUILD_NUMBER + 1))");
      MSG1=$(echo $CURRENT_BUILD | jq '.[].message' );
      MSG2=$(echo $NEXT_BUILD | jq '.[].message' );
      if [ "$MSG1" == "$MSG2" ] ; then
        BUILD_ID=$(echo $NEXT_BUILD | jq .[].id);
        TRAVIS_PULL_REQUEST=$(curl -s -X GET "https://api.travis-ci.org/repos/ioam/holoviews/builds/$BUILD_ID" | jq .compare_url | cut -d '/' -f7 | cut -d \" -f1);
        echo "Associated pull request found - PR $TRAVIS_PULL_REQUEST";
      fi
    fi
  - REF_DATA_BRANCH=${TRAVIS_PULL_REQUEST//false/reference_data}
  - git clone https://github.com/ioam/holoviews-data.git -b reference_data ./doc/reference_data
  - cd ./doc/reference_data
  - echo "Attempting to checkout $REF_DATA_BRANCH branch"
  - if [ $(git branch -a --list *origin/$REF_DATA_BRANCH | wc -l) -eq 1 ] ; then
      git checkout origin/$REF_DATA_BRANCH;
    else
      echo "Using the master branch reference data";
    fi
  - cd ../..

{'fraction_non_alphanumeric': 0.14473684210526316, 'fraction_numerical': 0.01992481203007519, 'mean_word_length': 2.9798055347793566, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 12, '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': '4954310', 'n_tokens_mistral': 2098, 'n_tokens_neox': 2010, 'n_words': 462}