<commit_before>machine:
    services:
        - docker
    node:
        version: 5.4.0

test:
    pre:
        - webdriver-manager update
        - webdriver-manager --ignore_ssl start:
            background: true
        - node test/google_mock_server/mock_google_server.js:
            background: true
        - npm start:
            background: true
        - sleep 5
    override:
        - protractor test/protractor/conf.js

deployment:
    hub:
        branch: master
        commands:
            - docker info
            - docker build -t $DOCKER_USER/index_cards .
            - docker login -u $DOCKER_USER -p $DOCKER_PASS -e $DOCKER_EMAIL
            - docker push $DOCKER_USER/index_cards
    staging:
        branch: master
        heroku:
            appname: salty-basin-2309<commit_msg>Correct circle.yml so that the 'staging' deployment section is used<commit_after>machine:
    services:
        - docker
    node:
        version: 5.4.0

test:
    pre:
        - webdriver-manager update
        - webdriver-manager --ignore_ssl start:
            background: true
        - node test/google_mock_server/mock_google_server.js:
            background: true
        - npm start:
            background: true
        - sleep 5
    override:
        - protractor test/protractor/conf.js

deployment:
    staging:
        branch: master
        commands:
            - docker info
            - docker build -t $DOCKER_USER/index_cards .
            - docker login -u $DOCKER_USER -p $DOCKER_PASS -e $DOCKER_EMAIL
            - docker push $DOCKER_USER/index_cards
        heroku:
            appname: salty-basin-2309
{'fraction_non_alphanumeric': 0.07509157509157509, 'fraction_numerical': 0.009768009768009768, 'mean_word_length': 1.6015873015873017, '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': '850735', 'n_tokens_mistral': 506, 'n_tokens_neox': 479, 'n_words': 117}