<commit_before>os:
  - linux
language: ruby
before_install: 
  - ./install_latest_gauge.sh /tmp >/dev/null 2>&1
  - source ~/.profile
  - gauge --install ruby
  - bundle install
  - wget https://bintray.com/artifact/download/gauge/activeadmin-demo/activeadmin-demo.war
  - nohup java -jar activeadmin-demo.war >/dev/null 2>&1 &
  - sleep 30
install:  
  - bundle exec gauge specs
after_install:
  - heroku maintenance:on --app gauge-example-reports
  - heroku git:clone -a gauge-example-reports
  - cd gauge-example-reports
  - cp -rf ../reports/html-report/* ruby/public
  - git add .
  - git commit -m "update Ruby reports for build ${SNAP_PIPELINE_COUNTER}"
  - git push heroku master
  - heroku maintenance:off --app gauge-example-reports<commit_msg>Travis: Installing chromedriver before gauge tests<commit_after>os:
  - linux
language: ruby
before_install: 
  - ./install_latest_gauge.sh /tmp >/dev/null 2>&1
  - source ~/.profile
  - gauge --install ruby
  - bundle install
  - wget https://bintray.com/artifact/download/gauge/activeadmin-demo/activeadmin-demo.war
  - nohup java -jar activeadmin-demo.war >/dev/null 2>&1 &
  - sleep 30
  - sudo apt-get install unzip
  - wget -N http://chromedriver.storage.googleapis.com/2.9/chromedriver_linux64.zip -P ~/Downloads
  - unzip ~/Downloads/chromedriver_linux64.zip -d ~/Downloads
  - chmod +x ~/Downloads/chromedriver
  - sudo mv -f ~/Downloads/chromedriver /usr/bin/chromedriver
install:  
  - bundle exec gauge specs
  - heroku maintenance:on --app gauge-example-reports
  - heroku git:clone -a gauge-example-reports
  - cd gauge-example-reports
  - cp -rf ../reports/html-report/* ruby/public
  - git add .
  - git commit -m "update Ruby reports for build ${SNAP_PIPELINE_COUNTER}"
  - git push heroku master
  - heroku maintenance:off --app gauge-example-reports
{'fraction_non_alphanumeric': 0.12184412733260154, 'fraction_numerical': 0.009879253567508232, 'mean_word_length': 3.105855855855856, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6380747', 'n_tokens_mistral': 659, 'n_tokens_neox': 612, 'n_words': 154}