<commit_before>---
dist: trusty
language: node_js
node_js:
  - "6"

sudo: false

env:
  global:
    #AWS credentials for ilios travis-deploy user
  - secure: <KEY>
  - secure: <KEY>
  matrix:
    - PARTITION=false FILTER='!acceptance' SPLIT=4 PARALLEL=true LINT=true
    - PARTITION=1 FILTER='acceptance' SPLIT=4 PARALLEL=false LINT=false
    - PARTITION=2 FILTER='acceptance' SPLIT=4 PARALLEL=false LINT=false
    - PARTITION=3 FILTER='acceptance' SPLIT=4 PARALLEL=false LINT=false
    - PARTITION=4 FILTER='acceptance' SPLIT=4 PARALLEL=false LINT=false

cache:
  directories:
    - $HOME/.npm
    - $HOME/.cache
    - $HOME/.package_cache

matrix:
  fast_finish: true

before_install:
  - npm set progress=false
  - npm config set spin false
  - npm install -g bower
  - npm install -g npm-cache
  # workaround for npm which rvm issue https://github.com/travis-ci/travis-ci/issues/5092#issuecomment-235542942
  - if [ -f "node_modules/.bin/which" ];
    then mv node_modules/.bin/which node_modules/.bin/which.backup;
    fi
  - rvm install 2.2.0 && rvm use 2.2.0
  - if [ -f "node_modules/.bin/which.backup" ];
    then mv node_modules/.bin/which.backup node_modules/.bin/which;
    fi
  - if [ "$LINT" = true ];
    then travis_retry gem install scss_lint --no-ri --no-rdoc;
    fi

install:
  - travis_retry npm-cache install npm bower

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # give xvfb some time to start

script:
  - if [ "$LINT" = true ];
    then scss-lint;
    fi
  - if [ "$LINT" = true ];
    then eslint .;
    fi
  - ember exam --split=$SPLIT --partition=$PARTITION --filter=$FILTER --parallel=$PARALLEL

after_success:
  - test $TRAVIS_TAG && test $TRAVIS_BRANCH == "master" && node_modules/.bin/ember deploy production --activate

#encrypted the slack token to post to #info so that it doesn't run on pull requests or forks
notifications:
    slack:
      secure: oloxDKdwXmNHKhh5WSR8DDxA3WJdAnyj+vj/8yawF1zG0tgL4fyPzzFqSpEhfsfgBrJlvxFtSnnsWEIMSMdT1LTwReClyjsy3PFQnHIiLMv/IZUS7ijahXQ4XL+ejfyPV4rJtFuKOLuNMww8uniy705/QkqBYwFUAcXXQ3gV5V8=<commit_msg>Stop running eslint explicitly in Travis<commit_after>---
dist: trusty
language: node_js
node_js:
  - "6"

sudo: false

env:
  global:
    #AWS credentials for ilios travis-deploy user
  - <KEY>
  - secure: <KEY>
  matrix:
    - PARTITION=false FILTER='!acceptance' SPLIT=4 PARALLEL=true LINT=true
    - PARTITION=1 FILTER='acceptance' SPLIT=4 PARALLEL=false LINT=false
    - PARTITION=2 FILTER='acceptance' SPLIT=4 PARALLEL=false LINT=false
    - PARTITION=3 FILTER='acceptance' SPLIT=4 PARALLEL=false LINT=false
    - PARTITION=4 FILTER='acceptance' SPLIT=4 PARALLEL=false LINT=false

cache:
  directories:
    - $HOME/.npm
    - $HOME/.cache
    - $HOME/.package_cache

matrix:
  fast_finish: true

before_install:
  - npm set progress=false
  - npm config set spin false
  - npm install -g bower
  - npm install -g npm-cache
  # workaround for npm which rvm issue https://github.com/travis-ci/travis-ci/issues/5092#issuecomment-235542942
  - if [ -f "node_modules/.bin/which" ];
    then mv node_modules/.bin/which node_modules/.bin/which.backup;
    fi
  - rvm install 2.2.0 && rvm use 2.2.0
  - if [ -f "node_modules/.bin/which.backup" ];
    then mv node_modules/.bin/which.backup node_modules/.bin/which;
    fi
  - if [ "$LINT" = true ];
    then travis_retry gem install scss_lint --no-ri --no-rdoc;
    fi

install:
  - travis_retry npm-cache install npm bower

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # give xvfb some time to start

script:
  - if [ "$LINT" = true ];
    then scss-lint;
    fi
  - ember exam --split=$SPLIT --partition=$PARTITION --filter=$FILTER --parallel=$PARALLEL

after_success:
  - test $TRAVIS_TAG && test $TRAVIS_BRANCH == "master" && node_modules/.bin/ember deploy production --activate

#encrypted the slack token to post to #info so that it doesn't run on pull requests or forks
notifications:
    slack:
      secure: <KEY>
{'fraction_non_alphanumeric': 0.12087366592206503, 'fraction_numerical': 0.02109704641350211, 'mean_word_length': 3.273594909862142, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 2, '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': '3978494', 'n_tokens_mistral': 1598, 'n_tokens_neox': 1535, 'n_words': 365}