<commit_before>language: cpp

sudo: false

compiler:
    - gcc
before_install:
    - git submodule update --init --recursive
    - git submodule update --recursive
    - cd geojs
    - npm install
    - grunt library
    - cd ..

install:
    - curl https://raw.githubusercontent.com/draperlaboratory/user-ale/master/helper-libs/javascript/draper.activity_logger-2.1.1.js -o client/optional/js/draper.activity_logger-2.1.1.js
    - curl https://raw.githubusercontent.com/draperlaboratory/user-ale/master/helper-libs/javascript/draper.activity_worker-2.1.1.js -o client/optional/static/draper.activity_worker-2.1.1.js
    
    - npm install

    - mkdir env
    - cd env
    - pip install girder python-dateutil PyGreSQL==4.1.1 psycopg2
    - python -c "import bcrypt"
    - girder-install web
    - girder-install plugin

script:
    - python ../server/main.py &
    - curl --silent 'http://localhost:8001/api/v1/system/version' | grep -q 'apiVersion'
<commit_msg>travis required pip --user.<commit_after>language: cpp

sudo: false

compiler:
    - gcc
before_install:
    - git submodule update --init --recursive
    - git submodule update --recursive
    - cd geojs
    - npm install
    - grunt library
    - cd ..

install:
    - curl https://raw.githubusercontent.com/draperlaboratory/user-ale/master/helper-libs/javascript/draper.activity_logger-2.1.1.js -o client/optional/js/draper.activity_logger-2.1.1.js
    - curl https://raw.githubusercontent.com/draperlaboratory/user-ale/master/helper-libs/javascript/draper.activity_worker-2.1.1.js -o client/optional/static/draper.activity_worker-2.1.1.js
    
    - npm install

    - mkdir env
    - cd env
    - pip install --user girder python-dateutil PyGreSQL==4.1.1 psycopg2
    - python -c "import bcrypt"
    - girder-install web
    - girder-install plugin

script:
    - python ../server/main.py &
    - curl --silent 'http://localhost:8001/api/v1/system/version' | grep -q 'apiVersion'

{'fraction_non_alphanumeric': 0.1267316572601334, 'fraction_numerical': 0.021549512570549, 'mean_word_length': 2.651685393258427, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '4837609', 'n_tokens_mistral': 710, 'n_tokens_neox': 666, 'n_words': 126}