<commit_before>language: node_js
node_js:
- '0.10'
before_script:
- npm install -g bower
- bower install
- npm install -g grunt-cli
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- grunt test:setup
- grunt test:run
after_script:
- grunt test:teardown<commit_msg>enable ci and prod deployments at the same time<commit_after>language: node_js
node_js:
- '0.10'
before_script:
- npm install -g bower
- bower install
- npm install -g grunt-cli
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
# run tests for ci or deploy to prod if on master
- grunt
{'fraction_non_alphanumeric': 0.10975609756097561, 'fraction_numerical': 0.020905923344947737, 'mean_word_length': 3.6747967479674797, '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': '5776308', 'n_tokens_mistral': 227, 'n_tokens_neox': 218, 'n_words': 70}