<commit_before>image: python2.7
script:
  - docker/restore-mtime.sh

publish:
  docker:
    docker_host: $$DOCKER_HOST
    docker_version: 1.3.0
    registry_login: true
    registry_login_url: $$LOGIN_URL
    username: $$LOGIN_USER
    password: <PASSWORD>
    email: $$LOGIN_EMAIL
    image_name: i.scrapinghub.com/portia/$CI_BRANCH<commit_msg>Cache npm and bower cache dirs<commit_after>image: python2.7
script:
  - docker/restore-mtime.sh

publish:
  docker:
    docker_host: $$DOCKER_HOST
    docker_version: 1.3.0
    registry_login: true
    registry_login_url: $$LOGIN_URL
    username: $$LOGIN_USER
    password: <PASSWORD>
    email: $$LOGIN_EMAIL
    image_name: i.scrapinghub.com/portia/$CI_BRANCH

cache:
  - /home/ubuntu/.npm
  - /home/ubuntu/.cache
{'fraction_non_alphanumeric': 0.11140235910878113, 'fraction_numerical': 0.01310615989515072, 'mean_word_length': 3.602409638554217, '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': '5947528', 'n_tokens_mistral': 304, 'n_tokens_neox': 287, 'n_words': 51}