<commit_before>language: node_js
matrix:
  fast_finish: true
node_js:
- '6'
branches:
  except:
  - build
env:
  global:
  - CXX=g++-4.8
  - secure: <KEY>
  - secure: <KEY>
  - secure: "M7CBcJEfKEF4c4cHwXusWvZel13es9kxsKuxlQkwZxypDuYtrbZpDJq0Ho69tCPjIDI1GUM5wGas1X7wzvMHaog3czmE081m2Z9tRzdoAV4yFV4Lj6eGU3gypgNk/Ousx13FrodC7/FDd+6TcPZj/lUCcKUyTKVoXzGeINMBL7T7BJ51p0UTYjOCjhulGVceT1GkOhrMo92kbwEFGAHbth2CrFK/HvmmcLuc53IZFMP8+c29L1guwCAnt9xOJhEH9I6shpyt6j+/xYXn4brhP2JFOtq4mlWsq/lbx8SEFOyFW5PKvNrIfAlEPTe5T6/+i5hEKX9hsCbzgPH8xr40gTJ8yornqu6Av/BZE4nJr0g077ozyajMo9oXHRz0VgLXZP39/W9T5OeJUF49RSgL5Z8FDlq39m08uu/6X2Gv6tQs5gt/DbGt9TkcMjzxhiu/yiv7rFvqsQsiX/ebYwiaad8xzdiMsbivqXCtwUWuj7MHnL7FK4pd62JIloWCN5X7ZephqupQlyGdVzE8QATtkCmkXtLTJrhJ0plBOjICcg+8tHxh0ZpNjFMHr6Ue9h/FefjsX8GfDAy5qRUsD4PY2HWsBbq+MdBdmbsGAAFcrDJtaPcPavahqDpX0hz0DBSKd09HSD0Ycd6FUde6pC7GNPzasDLnF8gWxpTz6D+f08g="
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    - deadsnakes
    packages:
    - g++-4.8
    - python3.5
    - pngquant
cache:
  yarn: true
  directories:
  - node_modules
before_install:
- curl -fsSL https://bootstrap.pypa.io/get-pip.py | python3.5 - --user
- travis_retry pip3.5 install --user transifex-client
- install -m0644 .transifexrc.tpl ~/.transifexrc
- echo "password = <PASSWORD>" >> ~/.transifexrc
script:
- yarn test
- yarn run build
after_success:
- test $TRAVIS_BRANCH = "master" && pngquant build/screenshots/* -f --ext ".png"
- test $TRAVIS_BRANCH = "master" && yarn run deploy -- --branch=build
- test $TRAVIS_BRANCH = "prod" && yarn run deploy -- --branch=latest
- sh scripts/publish_registry.sh<commit_msg>chore: remove unused publish script usage in master travis.yml :pencil2:<commit_after>language: node_js
matrix:
  fast_finish: true
node_js:
- '6'
branches:
  except:
  - build
env:
  global:
  - CXX=g++-4.8
  - secure: <KEY>
  - secure: <KEY>
  - secure: "M7CBcJEfKEF4c4cHwXusWvZel13es9kxsKuxlQkwZxypDuYtrbZpDJq0Ho69tCPjIDI1GUM5wGas1X7wzvMHaog3czmE081m2Z9tRzdoAV4yFV4Lj6eGU3gypgNk/Ousx13FrodC7/FDd+6TcPZj/lUCcKUyTKVoXzGeINMBL7T7BJ51p0UTYjOCjhulGVceT1GkOhrMo92kbwEFGAHbth2CrFK/HvmmcLuc53IZFMP8+c29L1guwCAnt9xOJhEH9I6shpyt6j+/xYXn4brhP2JFOtq4mlWsq/lbx8SEFOyFW5PKvNrIfAlEPTe5T6/+i5hEKX9hsCbzgPH8xr40gTJ8yornqu6Av/BZE4nJr0g077ozyajMo9oXHRz0VgLXZP39/W9T5OeJUF49RSgL5Z8FDlq39m08uu/6X2Gv6tQs5gt/DbGt9TkcMjzxhiu/yiv7rFvqsQsiX/ebYwiaad8xzdiMsbivqXCtwUWuj7MHnL7FK4pd62JIloWCN5X7ZephqupQlyGdVzE8QATtkCmkXtLTJrhJ0plBOjICcg+8tHxh0ZpNjFMHr6Ue9h/FefjsX8GfDAy5qRUsD4PY2HWsBbq+MdBdmbsGAAFcrDJtaPcPavahqDpX0hz0DBSKd09HSD0Ycd6FUde6pC7GNPzasDLnF8gWxpTz6D+f08g="
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    - deadsnakes
    packages:
    - g++-4.8
    - python3.5
    - pngquant
cache:
  yarn: true
  directories:
  - node_modules
before_install:
- curl -fsSL https://bootstrap.pypa.io/get-pip.py | python3.5 - --user
- travis_retry pip3.5 install --user transifex-client
- install -m0644 .transifexrc.tpl ~/.transifexrc
- echo "password = $<PASSWORD>" >> ~/.transifexrc
script:
- yarn test
- yarn run build
after_success:
- test $TRAVIS_BRANCH = "master" && pngquant build/screenshots/* -f --ext ".png"
- test $TRAVIS_BRANCH = "master" && yarn run deploy -- --branch=build
- test $TRAVIS_BRANCH = "prod" && yarn run deploy -- --branch=latest
{'fraction_non_alphanumeric': 0.1002151859821703, 'fraction_numerical': 0.08023363049492777, 'mean_word_length': 5.418145956607495, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '5721491', 'n_tokens_mistral': 1847, 'n_tokens_neox': 1738, 'n_words': 172}