<commit_before>sudo: required
language: scala
scala:
  - 2.10.6
services:
  - docker

before_install:
  - docker build --build-arg $SPARK_VERSION -t hydrosphere/mist:$TRAVIS_BRANCH-$SPARK_VERSION .
  - docker run hydrosphere/mist:$TRAVIS_BRANCH-$SPARK_VERSION /bin/sh -c "/usr/share/spark/bin/spark-shell --version"
script:
  - /usr/share/spark/bin/spark-shell --version

# after_success:
#   - if [ "$TRAVIS_BRANCH" == "master" ]; then
#     docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
#     docker push hydrosphere/mist:$TRAVIS_BRANCH-$SPARK_VERSION;
#     fi

env:
  global:
    secure: <KEY>
  matrix:
    - SPARK_VERSION=1.5.2
    - SPARK_VERSION=1.6.2
    - SPARK_VERSION=2.0.0

branches:
  only:
  - docker<commit_msg>quick fix<commit_after>sudo: required
language: scala
scala:
  - 2.10.6
services:
  - docker

before_install:
  - docker build --build-arg SPARK_VERION=$SPARK_VERSION -t hydrosphere/mist:$TRAVIS_BRANCH-$SPARK_VERSION .
  - docker run hydrosphere/mist:$TRAVIS_BRANCH-$SPARK_VERSION /bin/sh -c "/usr/share/spark/bin/spark-shell --version"
script:
  - /usr/share/spark/bin/spark-shell --version

# after_success:
#   - if [ "$TRAVIS_BRANCH" == "master" ]; then
#     docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
#     docker push hydrosphere/mist:$TRAVIS_BRANCH-$SPARK_VERSION;
#     fi

env:
  global:
    secure: <KEY>
  matrix:
    - SPARK_VERSION=1.5.2
    - SPARK_VERSION=1.6.2
    - SPARK_VERSION=2.0.0

branches:
  only:
  - docker
{'fraction_non_alphanumeric': 0.14885245901639343, 'fraction_numerical': 0.017049180327868854, 'mean_word_length': 3.436046511627907, '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': '6087459', 'n_tokens_mistral': 656, 'n_tokens_neox': 602, 'n_words': 100}