<commit_before>sudo: false
language: php
php:
  - nightly
  - 5.6
  - 5.5
  - 5.4
  - hhvm

matrix:
  allow_failures:
    - php: nightly

cache:
  directories:
    - bower_components
    - node_modules

install:
  - npm install -g npm@latest
  - npm install -g bower gulp jscs
  - npm install
  - composer self-update && composer --version
  - export PATH="$HOME/.composer/vendor/bin:$PATH"
  - composer global require squizlabs/php_codesniffer

script:
  - npm run build
  - npm run jshint
  - npm run jscs
  - phpcs --standard=ruleset.xml --extensions=php -n -s .<commit_msg>Changes to style<commit_after>sudo: false
language: php
php:
  - nightly
  - 5.6
  - 5.5
  - 5.4
  - 7.0
  - 7.1

matrix:
  allow_failures:
    - php: nightly

env:
  - TRAVIS_NODE_VERSION="6"

cache:
  directories:
    - bower_components
    - node_modules

before_install:
  - composer self-update && composer --version
  - source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION && nvm use $TRAVIS_NODE_VERSION
  - export PATH="$HOME/.composer/vendor/bin:$PATH"

install:
  - npm install -g npm@latest
  - npm install -g bower gulp jscs
  - npm install
  - composer global require squizlabs/php_codesniffer

script:
  - npm rebuild node-sass
  - npm run build
  - npm run jshint
  - npm run jscs
{'fraction_non_alphanumeric': 0.10815047021943573, 'fraction_numerical': 0.013322884012539185, 'mean_word_length': 2.5971830985915494, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '2696899', 'n_tokens_mistral': 514, 'n_tokens_neox': 478, 'n_words': 124}