<commit_before>language: javascript

# command to install dependencies
install:
  - "./install.sh"

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - "./start-server.sh &"

# command to run tests
script: 
  - "make test"
  - "sudo pip install selenium"
  - "sudo pip install behave"
  - "sudo pip install jsonpath-rw"
  - "cd tests/behave"
  - "TARGET=http://localhost:8080 behave"

# whitelist
branches:
  only:
    - master

notifications:
  email:
    - <EMAIL><commit_msg>one more attempt at getting behave to work with travis<commit_after>language: javascript

# command to install dependencies
install:
  - "./install.sh"

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

# command to run tests
script: 
  - "make test"
  - "sudo pip install selenium"
  - "sudo pip install behave"
  - "sudo pip install jsonpath-rw"
  - "cd tests/behave"
  - "./start-server.sh &"
  - "sleep 10"
  - "TARGET=http://localhost:8080 behave"

# whitelist
branches:
  only:
    - master

notifications:
  email:
    - <EMAIL>
{'fraction_non_alphanumeric': 0.13551401869158877, 'fraction_numerical': 0.014953271028037384, 'mean_word_length': 2.9375, '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': '164928', 'n_tokens_mistral': 407, 'n_tokens_neox': 378, 'n_words': 102}