<commit_before>language: java

jdk:
  - openjdk7

services:
  - rabbitmq

before_script:
   - "wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.0.deb"
   - "sudo dpkg -i elasticsearch-1.0.0.deb"
   - "export PATH=$PATH:/usr/share/elasticsearch/bin"      
   - 'sudo mkdir -p /usr/share/elasticsearch/data'
   - "sudo chmod 777 /usr/share/elasticsearch/data"
   - "elasticsearch"
   - "wget http://aphyr.com/riemann/riemann_0.2.2_all.deb"
   - "sudo dpkg -i riemann_0.2.2_all.deb"
   - "sudo touch /var/log/riemann/riemann.log"
   - "sudo chmod 666 /var/log/riemann/riemann.log"
   - "sudo test -d /dev/shm && sudo rm -rf /dev/shm"
   - "sudo ln -Tsf /{run,dev}/shm"
   - "sudo chmod 777 /dev/shm" # for celery worker

install:
   - "rvm install ruby-2.1.0"
   - "rvm use ruby-2.1.0"
   - "rvm --default use ruby-2.1.0"
   - "gem install bundler"
   - "cd workflow-service; bundle install; cd .."
   - "sudo pip install virtualenv"
   - "sudo pip install flake8"
   - "virtualenv ~/env"
   - "source ~/env/bin/activate"
   - "pip install nose"
   - "cd manager-rest && pip install --process-dependency-links . && cd .."
   - "cd workflows && pip install --process-dependency-links . && cd .."   

script:
   - "cd workflow-service; rake; cd .."
   - "flake8 vagrant/"
   - "flake8 manager-rest/"
   - "flake8 workflows/"
   - "nosetests manager-rest/manager_rest/test --nologcapture --nocapture"
   - "nosetests workflows/workflow_tests --nologcapture --nocapture -v"

<commit_msg>CLOUDIFY-2393 fix travis.yml<commit_after>language: java

jdk:
  - openjdk7

services:
  - rabbitmq

before_script:
   - "wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.0.deb"
   - "sudo dpkg -i elasticsearch-1.0.0.deb"
   - "export PATH=$PATH:/usr/share/elasticsearch/bin"      
   - 'sudo mkdir -p /usr/share/elasticsearch/data'
   - "sudo chmod 777 /usr/share/elasticsearch/data"
   - "wget http://aphyr.com/riemann/riemann_0.2.2_all.deb"
   - "sudo dpkg -i riemann_0.2.2_all.deb"
   - "sudo touch /var/log/riemann/riemann.log"
   - "sudo chmod 666 /var/log/riemann/riemann.log"
   - "sudo test -d /dev/shm && sudo rm -rf /dev/shm"
   - "sudo ln -Tsf /{run,dev}/shm"
   - "sudo chmod 777 /dev/shm" # for celery worker

install:
   - "rvm install ruby-2.1.0"
   - "rvm use ruby-2.1.0"
   - "rvm --default use ruby-2.1.0"
   - "gem install bundler"
   - "cd workflow-service; bundle install; cd .."
   - "sudo pip install virtualenv"
   - "sudo pip install flake8"
   - "virtualenv ~/env"
   - "source ~/env/bin/activate"
   - "pip install nose"
   - "cd manager-rest && pip install --process-dependency-links . && cd .."
   - "cd workflows && pip install --process-dependency-links . && cd .."   

script:
   - "cd workflow-service; rake; cd .."
   - "flake8 vagrant/"
   - "flake8 manager-rest/"
   - "flake8 workflows/"
   - "nosetests manager-rest/manager_rest/test --nologcapture --nocapture"
   - "nosetests workflows/workflow_tests --nologcapture --nocapture -v"


{'fraction_non_alphanumeric': 0.16083223249669748, 'fraction_numerical': 0.02443857331571995, 'mean_word_length': 2.5509964830011724, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1292542', 'n_tokens_mistral': 1240, 'n_tokens_neox': 1163, 'n_words': 245}