<commit_before>sudo: false

language: node_js

git:
    depth: false # Get all depth so our git-based version/change tracking of policies works

node_js:
    - "10"

script:
    - npm run ci-lint
    - npm run ci-test
    - make changelog
    - make policies
    - make -j$(nproc) travis-dist

deploy:
    on:
        all_branches:
            true
    provider: s3
    bucket: "compiler-explorer"
    skip_cleanup: true
    acl: public_read
    local_dir: out/dist-bin
    upload-dir: dist/travis/${TRAVIS_BRANCH}

after_success: npm run codecov<commit_msg>does this work? send js/css files to s3<commit_after>sudo: false

language: node_js

git:
    depth: false # Get all depth so our git-based version/change tracking of policies works

node_js:
    - "10"

script:
    - npm run ci-lint
    - npm run ci-test
    - make changelog
    - make policies
    - make -j$(nproc) travis-dist

deploy:
    on:
        all_branches:
            true
    provider: s3
    bucket: "compiler-explorer"
    skip_cleanup: true
    acl: public_read
    local_dir: out/dist-bin
    upload-dir: dist/travis/${TRAVIS_BRANCH}

deploy:
    on:
        all_branches:
            true
    provider: s3
    bucket: "compiler-explorer"
    skip_cleanup: true
    acl: public_read
    local_dir: out/dist/dist
    upload-dir: cdn

after_success: npm run codecov
{'fraction_non_alphanumeric': 0.08432835820895522, 'fraction_numerical': 0.005970149253731343, 'mean_word_length': 2.369346733668342, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1812508', 'n_tokens_mistral': 473, 'n_tokens_neox': 460, 'n_words': 130}